[FFmpeg-cvslog] avfilter/af_pan: free input frame once unneeded
Paul B Mahol
git at videolan.org
Wed May 10 15:03:11 EEST 2023
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Wed May 10 13:51:46 2023 +0200| [5b300b69a6c55e79286007a751d1bc197442b253] | committer: Paul B Mahol
avfilter/af_pan: free input frame once unneeded
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5b300b69a6c55e79286007a751d1bc197442b253
---
libavfilter/af_pan.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/libavfilter/af_pan.c b/libavfilter/af_pan.c
index bb33ab10c0..167d7166af 100644
--- a/libavfilter/af_pan.c
+++ b/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)
More information about the ffmpeg-cvslog
mailing list