1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-28 20:53:54 +02:00

avcodec/mlpenc: fix encoding stereo single stream in TrueHD

This commit is contained in:
Paul B Mahol 2021-09-18 19:16:25 +02:00
parent 57f0b36367
commit cd7e25b14a

View File

@ -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;