mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
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
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user