avfilter/af_pan: free input frame once unneeded

pull/389/head
Paul B Mahol 2 years ago
parent 2de30e7f8c
commit 5b300b69a6
  1. 3
      libavfilter/af_pan.c

@ -391,9 +391,8 @@ FF_ENABLE_DEPRECATION_WARNINGS
return ret;
}
ret = ff_filter_frame(outlink, outsamples);
av_frame_free(&insamples);
return ret;
return ff_filter_frame(outlink, outsamples);
}
static av_cold void uninit(AVFilterContext *ctx)

Loading…
Cancel
Save