Fixes a leak in the mov-mp4-pcm-float FATE test.

Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@outlook.com>
---
 libavfilter/af_pan.c | 1 +
 1 file changed, 1 insertion(+)

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

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to