diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2017-04-20 19:58:59 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2017-04-22 20:08:45 +0200 |
commit | 362f6c91e466b2114d0827c6d58e26e121ed11e8 (patch) | |
tree | 2abd8d6b4afcda033f5e2ff71d4449c81a78c216 /libavfilter | |
parent | 01729f77dd2a34d023d422e5d593861e864cf3de (diff) | |
download | ffmpeg-362f6c91e466b2114d0827c6d58e26e121ed11e8.tar.gz |
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>
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/avf_avectorscope.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavfilter/avf_avectorscope.c b/libavfilter/avf_avectorscope.c index 3063283efb..c6e278d30d 100644 --- a/libavfilter/avf_avectorscope.c +++ b/libavfilter/avf_avectorscope.c @@ -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) { |