From e0f30a567f338257c9a44e52fca500bf2d0621aa Mon Sep 17 00:00:00 2001 From: Thierry Foucu Date: Thu, 5 Apr 2012 21:43:18 -0700 Subject: [PATCH] s302m: Add Channle Layout for 6 channels Signed-off-by: Michael Niedermayer --- libavcodec/s302m.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavcodec/s302m.c b/libavcodec/s302m.c index 4a17fa102e..a6f207c4f6 100644 --- a/libavcodec/s302m.c +++ b/libavcodec/s302m.c @@ -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; }