aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2016-02-12 00:37:11 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2016-02-12 00:38:45 +0100
commit156013111a3389a3f0c1af33dfaa008824e30727 (patch)
treebbf473ccf95ebd6fd1f5db813084e53aa98fbd52
parent43bf15d1a425b99182820332ffdf5329773b319a (diff)
downloadffmpeg-156013111a3389a3f0c1af33dfaa008824e30727.tar.gz
avfilter/avf_ahistogram: assert that variables are initialized by switch()
Silences: CID1351397 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r--libavfilter/avf_ahistogram.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavfilter/avf_ahistogram.c b/libavfilter/avf_ahistogram.c
index 55f7462676..a716a96f2d 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);