forked from FFmpeg/FFmpeg
avfilter/avf_ahistogram: assert that variables are initialized by switch()
Silences: CID1351397 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
43bf15d1a4
commit
156013111a
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue