mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
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:
parent
03c1129b20
commit
62eb935bf9
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user