mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-24 02:20:56 +01:00
avfilter/vf_tmidequalizer: check that frame is valid
This commit is contained in:
parent
17ab836a5f
commit
b9493e0cc0
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue