ffmpeg | branch: master | Michael Niedermayer <mich...@niedermayer.cc> | Thu 
Feb 11 23:08:48 2016 +0100| [62eb935bf93299c94239036978a674ad09449e39] | 
committer: Michael Niedermayer

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

Silences: CID1351390
Silences: CID1351391

Signed-off-by: Michael Niedermayer <mich...@niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=62eb935bf93299c94239036978a674ad09449e39
---

 libavfilter/avf_avectorscope.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavfilter/avf_avectorscope.c b/libavfilter/avf_avectorscope.c
index 7f415fc..29d0287 100644
--- a/libavfilter/avf_avectorscope.c
+++ b/libavfilter/avf_avectorscope.c
@@ -300,6 +300,8 @@ static int filter_frame(AVFilterLink *inlink, AVFrame 
*insamples)
             prev_y = y;
         }
         break;
+    default:
+        av_assert0(0);
     }
 
     s->prev_x = x, s->prev_y = y;

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

Reply via email to