Commit 362f6c91 authored by Michael Niedermayer's avatar Michael Niedermayer

avfilter/avf_avectorscope: Assert that format is valid

This should help coverity realize that src[] is inited
Reviewed-by: 's avatarPaul B Mahol <onemda@gmail.com>
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 01729f77
......@@ -267,6 +267,8 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *insamples)
src[0] = samplesf[0];
src[1] = samplesf[1];
break;
default:
av_assert2(0);
}
switch (s->scale) {
......
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