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>
This commit is contained in:
@@ -399,6 +399,7 @@ static av_cold void uninit(AVFilterContext *ctx)
|
|||||||
{
|
{
|
||||||
PanContext *pan = ctx->priv;
|
PanContext *pan = ctx->priv;
|
||||||
swr_free(&pan->swr);
|
swr_free(&pan->swr);
|
||||||
|
av_channel_layout_uninit(&pan->out_channel_layout);
|
||||||
}
|
}
|
||||||
|
|
||||||
#define OFFSET(x) offsetof(PanContext, x)
|
#define OFFSET(x) offsetof(PanContext, x)
|
||||||
|
|||||||
Reference in New Issue
Block a user