1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

avfilter/af_pan: free input frame once unneeded

This commit is contained in:
Paul B Mahol 2023-05-10 13:51:46 +02:00
parent 2de30e7f8c
commit 5b300b69a6

View File

@ -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)