Commit bd35d584 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/mlp_parser: fix multichannel

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 1a8050ad
...@@ -371,8 +371,8 @@ FF_ENABLE_DEPRECATION_WARNINGS ...@@ -371,8 +371,8 @@ FF_ENABLE_DEPRECATION_WARNINGS
avctx->channels = 2; avctx->channels = 2;
avctx->channel_layout = AV_CH_LAYOUT_STEREO; avctx->channel_layout = AV_CH_LAYOUT_STEREO;
} else if (!mh.channels_thd_stream2 || } else if (!mh.channels_thd_stream2 ||
(mh.channel_layout_thd_stream1 & avctx->request_channel_layout) == ((mh.channel_layout_thd_stream1 & avctx->request_channel_layout) ==
avctx->request_channel_layout) { avctx->request_channel_layout && avctx->request_channel_layout)) {
avctx->channels = mh.channels_thd_stream1; avctx->channels = mh.channels_thd_stream1;
avctx->channel_layout = mh.channel_layout_thd_stream1; avctx->channel_layout = mh.channel_layout_thd_stream1;
} else { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment