[FFmpeg-devel] [PATCH 2/2] avcodec/mlpenc: fix encoding stereo single stream in TrueHD
Paul B Mahol
onemda at gmail.com
Sat Sep 18 20:21:05 EEST 2021
Signed-off-by: Paul B Mahol <onemda at gmail.com>
---
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;
--
2.17.1
More information about the ffmpeg-devel
mailing list