From 156013111a3389a3f0c1af33dfaa008824e30727 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 12 Feb 2016 00:37:11 +0100 Subject: avfilter/avf_ahistogram: assert that variables are initialized by switch() Silences: CID1351397 Signed-off-by: Michael Niedermayer --- libavfilter/avf_ahistogram.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libavfilter') diff --git a/libavfilter/avf_ahistogram.c b/libavfilter/avf_ahistogram.c index 55f7462..a716a96 100644 --- a/libavfilter/avf_ahistogram.c +++ b/libavfilter/avf_ahistogram.c @@ -297,6 +297,8 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in) if (aa == 1.) aa = 0; break; + default: + av_assert0(0); } h = aa * (H - 1); -- cgit v1.1