[FFmpeg-cvslog] avcodec/mlpenc: fix encoding stereo single stream in TrueHD

Paul B Mahol git at videolan.org
Fri Sep 24 00:45:22 EEST 2021


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sat Sep 18 19:16:25 2021 +0200| [cd7e25b14a2a27b73874b5f79a04ae5db738f7f6] | committer: Paul B Mahol

avcodec/mlpenc: fix encoding stereo single stream in TrueHD

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=cd7e25b14a2a27b73874b5f79a04ae5db738f7f6
---

 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;



More information about the ffmpeg-cvslog mailing list