aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2021-09-18 19:16:25 +0200
committerPaul B Mahol <onemda@gmail.com>2021-09-23 23:43:48 +0200
commitcd7e25b14a2a27b73874b5f79a04ae5db738f7f6 (patch)
treefed7611efdecd51c7499c0ee08266687bf54589e
parent57f0b36367d4e5ccd4d2da7f69c3cac45b6236ee (diff)
downloadffmpeg-cd7e25b14a2a27b73874b5f79a04ae5db738f7f6.tar.gz
avcodec/mlpenc: fix encoding stereo single stream in TrueHD
-rw-r--r--libavcodec/mlpenc.c2
1 files changed, 1 insertions, 1 deletions
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;