forked from FFmpeg/FFmpeg
avfilter/avf_avectorscope: Assert that format is valid
This should help coverity realize that src[] is inited Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
01729f77dd
commit
362f6c91e4
1 changed files with 2 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue