avfilter/vf_waveform: add default case when picking input formats
authorPaul B Mahol <onemda@gmail.com>
Fri, 8 Dec 2017 11:31:01 +0000 (12:31 +0100)
committerPaul B Mahol <onemda@gmail.com>
Fri, 8 Dec 2017 11:31:01 +0000 (12:31 +0100)
Should silence compiler warnings.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavfilter/vf_waveform.c

index 0c57474..02a7046 100644 (file)
@@ -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) {