Browse Source

avfilter/af_acrossover: free all output frames on error

tags/n4.3
Paul B Mahol 6 years ago
parent
commit
7e8721e98e
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavfilter/af_acrossover.c

+ 2
- 0
libavfilter/af_acrossover.c View File

@@ -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…
Cancel
Save