aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/af_pan.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2023-05-10 13:51:46 +0200
committerPaul B Mahol <onemda@gmail.com>2023-05-10 14:01:49 +0200
commit5b300b69a6c55e79286007a751d1bc197442b253 (patch)
tree4b10484f678c172d8a136b818983afa17a1916ef /libavfilter/af_pan.c
parent2de30e7f8cb5c26ca16a122c0ababb2a244b7ffe (diff)
downloadffmpeg-5b300b69a6c55e79286007a751d1bc197442b253.tar.gz
avfilter/af_pan: free input frame once unneeded
Diffstat (limited to 'libavfilter/af_pan.c')
-rw-r--r--libavfilter/af_pan.c3
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)