Commit 15601311 authored by Michael Niedermayer's avatar Michael Niedermayer

avfilter/avf_ahistogram: assert that variables are initialized by switch()

Silences: CID1351397
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 43bf15d1
...@@ -297,6 +297,8 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in) ...@@ -297,6 +297,8 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
if (aa == 1.) if (aa == 1.)
aa = 0; aa = 0;
break; break;
default:
av_assert0(0);
} }
h = aa * (H - 1); h = aa * (H - 1);
......
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