Commit 299a6222 authored by Paul B Mahol's avatar Paul B Mahol

avfilter/vf_waveform: add default case when picking input formats

Should silence compiler warnings.
Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent 4678339e
...@@ -295,6 +295,7 @@ static int query_formats(AVFilterContext *ctx) ...@@ -295,6 +295,7 @@ static int query_formats(AVFilterContext *ctx)
case FLAT: in_pix_fmts = in_flat_pix_fmts; break; case FLAT: in_pix_fmts = in_flat_pix_fmts; break;
case ACOLOR: case ACOLOR:
case COLOR: in_pix_fmts = in_color_pix_fmts; break; case COLOR: in_pix_fmts = in_color_pix_fmts; break;
default: return AVERROR_BUG;
} }
if (!ctx->inputs[0]->out_formats) { if (!ctx->inputs[0]->out_formats) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment