Commit 62eb935b authored by Michael Niedermayer's avatar Michael Niedermayer

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

Silences: CID1351390
Silences: CID1351391
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 03c1129b
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment