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

Silences: CID1351390
Silences: CID1351391

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Michael Niedermayer 2016-02-11 23:08:48 +01:00
parent 03c1129b20
commit 62eb935bf9
1 changed files with 2 additions and 0 deletions

View 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;