mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
avfilter/af_acrossover: free all output frames on error
This commit is contained in:
parent
cd671ea083
commit
7e8721e98e
@ -303,6 +303,8 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
|
|||||||
}
|
}
|
||||||
|
|
||||||
fail:
|
fail:
|
||||||
|
for (i = 0; i < ctx->nb_outputs; i++)
|
||||||
|
av_frame_free(&frames[i]);
|
||||||
av_frame_free(&in);
|
av_frame_free(&in);
|
||||||
s->input_frame = NULL;
|
s->input_frame = NULL;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user