mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-06-19 19:03:00 +02:00
avfilter/vf_mix: check if array is available
This commit is contained in:
@@ -289,7 +289,7 @@ static av_cold void uninit(AVFilterContext *ctx)
|
||||
for (i = 0; i < ctx->nb_inputs; i++)
|
||||
av_freep(&ctx->input_pads[i].name);
|
||||
} else {
|
||||
for (i = 0; i < s->nb_frames; i++)
|
||||
for (i = 0; i < s->nb_frames && s->frames; i++)
|
||||
av_frame_free(&s->frames[i]);
|
||||
}
|
||||
av_freep(&s->frames);
|
||||
|
||||
Reference in New Issue
Block a user