diff options
author | Thierry Foucu <tfoucu@gmail.com> | 2012-04-05 21:43:18 -0700 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-04-06 11:03:15 +0200 |
commit | e0f30a567f338257c9a44e52fca500bf2d0621aa (patch) | |
tree | 187e4c2643158f05e0d5d5bcaeb71e9d6c2d1632 /libavcodec/s302m.c | |
parent | 25eae29ea11fb025460562a9879eca7e441c0daa (diff) | |
download | ffmpeg-e0f30a567f338257c9a44e52fca500bf2d0621aa.tar.gz |
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.c | 3 |
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; } |