mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-08 13:22:53 +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:
|
||||
for (i = 0; i < ctx->nb_outputs; i++)
|
||||
av_frame_free(&frames[i]);
|
||||
av_frame_free(&in);
|
||||
s->input_frame = NULL;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user