Skip to content
Snippets Groups Projects
Commit 362f6c91 authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

avfilter/avf_avectorscope: Assert that format is valid


This should help coverity realize that src[] is inited

Reviewed-by: default avatarPaul B Mahol <onemda@gmail.com>
Signed-off-by: default avatarMichael Niedermayer <michael@niedermayer.cc>
parent 01729f77
No related branches found
No related tags found
No related merge requests found
......@@ -267,6 +267,8 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *insamples)
src[0] = samplesf[0];
src[1] = samplesf[1];
break;
default:
av_assert2(0);
}
switch (s->scale) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment