Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThierry Foucu <tfoucu@gmail.com>2012-04-06 08:43:18 +0400
committerMichael Niedermayer <michaelni@gmx.at>2012-04-06 13:03:15 +0400
commite0f30a567f338257c9a44e52fca500bf2d0621aa (patch)
tree187e4c2643158f05e0d5d5bcaeb71e9d6c2d1632 /libavcodec/s302m.c
parent25eae29ea11fb025460562a9879eca7e441c0daa (diff)
s302m: Add Channle Layout for 6 channels
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/s302m.c')
-rw-r--r--libavcodec/s302m.c3
1 files changed, 3 insertions, 0 deletions
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;
}