Commit e0f30a56 authored by Thierry Foucu's avatar Thierry Foucu Committed by Michael Niedermayer

s302m: Add Channle Layout for 6 channels

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 25eae29e
......@@ -74,6 +74,9 @@ static int s302m_parse_frame_header(AVCodecContext *avctx, const uint8_t *buf,
case 4:
avctx->channel_layout = AV_CH_LAYOUT_QUAD;
break;
case 6:
avctx->channel_layout = AV_CH_LAYOUT_5POINT1_BACK;
break;
case 8:
avctx->channel_layout = AV_CH_LAYOUT_5POINT1_BACK | AV_CH_LAYOUT_STEREO_DOWNMIX;
}
......
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