This should help coverity realize that src[] is inited

Signed-off-by: Michael Niedermayer <mich...@niedermayer.cc>
---
 libavfilter/avf_avectorscope.c | 2 ++
 1 file changed, 2 insertions(+)

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) {
-- 
2.11.0

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to