1
0
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:
Michael Niedermayer 2016-02-12 00:37:11 +01:00
parent 43bf15d1a4
commit 156013111a

View File

@ -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);