aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_waveform.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2017-12-08 12:31:01 +0100
committerPaul B Mahol <onemda@gmail.com>2017-12-08 12:31:01 +0100
commit299a6222976646f27a83773f40bc9668f96e6828 (patch)
tree5b37abedbbd172c11ee22682759595b6023d007d /libavfilter/vf_waveform.c
parent4678339e745dac8fa4288541b79f1577f19bb4c2 (diff)
downloadffmpeg-299a6222976646f27a83773f40bc9668f96e6828.tar.gz
avfilter/vf_waveform: add default case when picking input formats
Should silence compiler warnings. Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavfilter/vf_waveform.c')
-rw-r--r--libavfilter/vf_waveform.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/vf_waveform.c b/libavfilter/vf_waveform.c
index 0c574742a0..02a7046f33 100644
--- a/libavfilter/vf_waveform.c
+++ b/libavfilter/vf_waveform.c
@@ -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) {