From cd7e25b14a2a27b73874b5f79a04ae5db738f7f6 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Sat, 18 Sep 2021 19:16:25 +0200 Subject: [PATCH] avcodec/mlpenc: fix encoding stereo single stream in TrueHD --- libavcodec/mlpenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/mlpenc.c b/libavcodec/mlpenc.c index ef01c1d282..b2b3297669 100644 --- a/libavcodec/mlpenc.c +++ b/libavcodec/mlpenc.c @@ -626,7 +626,7 @@ static av_cold int mlp_encode_init(AVCodecContext *avctx) ctx->ch_modifier_thd0 = 0; ctx->ch_modifier_thd1 = 0; ctx->ch_modifier_thd2 = 0; - ctx->channel_arrangement = 1; + ctx->channel_arrangement = 0; break; case AV_CH_LAYOUT_5POINT0_BACK: ctx->ch_modifier_thd0 = 1;