mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-27 21:20:41 +00:00
avfilter/vf_waveform: add default case when picking input formats
Should silence compiler warnings. Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
4678339e74
commit
299a622297
@ -295,6 +295,7 @@ static int query_formats(AVFilterContext *ctx)
|
||||
case FLAT: in_pix_fmts = in_flat_pix_fmts; break;
|
||||
case ACOLOR:
|
||||
case COLOR: in_pix_fmts = in_color_pix_fmts; break;
|
||||
default: return AVERROR_BUG;
|
||||
}
|
||||
|
||||
if (!ctx->inputs[0]->out_formats) {
|
||||
|
Loading…
Reference in New Issue
Block a user