From 62eb935bf93299c94239036978a674ad09449e39 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 11 Feb 2016 23:08:48 +0100 Subject: avfilter/avf_avectorscope: assert that variables are initialized by switch() Silences: CID1351390 Silences: CID1351391 Signed-off-by: Michael Niedermayer --- libavfilter/avf_avectorscope.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libavfilter') 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; -- cgit v1.1