[FFmpeg-cvslog] avfilter/avf_avectorscope: assert that variables are initialized by switch ()
Michael Niedermayer
git at videolan.org
Thu Feb 11 23:41:26 CET 2016
ffmpeg | branch: master | Michael Niedermayer <michael at 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 <michael at 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;
More information about the ffmpeg-cvslog
mailing list