mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avfilter/vf_tmidequalizer: check that frame is valid
This commit is contained in:
parent
17ab836a5f
commit
b9493e0cc0
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user