Commit b9493e0c authored by Paul B Mahol's avatar Paul B Mahol

avfilter/vf_tmidequalizer: check that frame is valid

parent 17ab836a
......@@ -178,6 +178,8 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
} else {
s->l_frames++;
}
if (!s->frames[idx])
return AVERROR_EOF;
in = av_frame_clone(s->frames[idx]);
if (!in)
return AVERROR(ENOMEM);
......
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