aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-02-19 23:35:52 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-02-20 18:41:45 +0100
commite2afcb82429a83c819f38c320c804f927b41c4d0 (patch)
tree281c6ed2fa9fe31d5e8ed11c99b6ab61cf5ef66f
parent58ffe0db4d50a5aa633d4efb9b53c879aedcd1e1 (diff)
downloadffmpeg-e2afcb82429a83c819f38c320c804f927b41c4d0.tar.gz
avfilter/af_pan: Uninitialize channel layout
Fixes a leak in the mov-mp4-pcm-float FATE test. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r--libavfilter/af_pan.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/af_pan.c b/libavfilter/af_pan.c
index cfed9f146a..d8431a51d9 100644
--- a/libavfilter/af_pan.c
+++ b/libavfilter/af_pan.c
@@ -399,6 +399,7 @@ static av_cold void uninit(AVFilterContext *ctx)
{
PanContext *pan = ctx->priv;
swr_free(&pan->swr);
+ av_channel_layout_uninit(&pan->out_channel_layout);
}
#define OFFSET(x) offsetof(PanContext, x)