diff options
author | Paul B Mahol <onemda@gmail.com> | 2023-05-10 13:51:46 +0200 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2023-05-10 14:01:49 +0200 |
commit | 5b300b69a6c55e79286007a751d1bc197442b253 (patch) | |
tree | 4b10484f678c172d8a136b818983afa17a1916ef /libavfilter/af_pan.c | |
parent | 2de30e7f8cb5c26ca16a122c0ababb2a244b7ffe (diff) | |
download | ffmpeg-5b300b69a6c55e79286007a751d1bc197442b253.tar.gz |
avfilter/af_pan: free input frame once unneeded
Diffstat (limited to 'libavfilter/af_pan.c')
-rw-r--r-- | libavfilter/af_pan.c | 3 |
1 files changed, 1 insertions, 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) |