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

Silences: CID1351397

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
pull/174/merge
Michael Niedermayer 9 years ago
parent 43bf15d1a4
commit 156013111a
  1. 2
      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);

Loading…
Cancel
Save