avfilter/avf_avectorscope: assert that variables are initialized by switch()
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 11 Feb 2016 22:08:48 +0000 (23:08 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 11 Feb 2016 22:09:39 +0000 (23:09 +0100)
Silences: CID1351390
Silences: CID1351391

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavfilter/avf_avectorscope.c

index 7f415fc..29d0287 100644 (file)
@@ -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;