You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avfilter/vf_tmidequalizer: check that frame is valid
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user