avcodec/mlpenc: fix encoding stereo single stream in TrueHD

pull/369/head
Paul B Mahol 3 years ago
parent 57f0b36367
commit cd7e25b14a
  1. 2
      libavcodec/mlpenc.c

@ -626,7 +626,7 @@ static av_cold int mlp_encode_init(AVCodecContext *avctx)
ctx->ch_modifier_thd0 = 0; ctx->ch_modifier_thd0 = 0;
ctx->ch_modifier_thd1 = 0; ctx->ch_modifier_thd1 = 0;
ctx->ch_modifier_thd2 = 0; ctx->ch_modifier_thd2 = 0;
ctx->channel_arrangement = 1; ctx->channel_arrangement = 0;
break; break;
case AV_CH_LAYOUT_5POINT0_BACK: case AV_CH_LAYOUT_5POINT0_BACK:
ctx->ch_modifier_thd0 = 1; ctx->ch_modifier_thd0 = 1;

Loading…
Cancel
Save