[FFmpeg-cvslog] s302m: Add Channle Layout for 6 channels

Thierry Foucu git at videolan.org
Fri Apr 6 11:18:43 CEST 2012


ffmpeg | branch: master | Thierry Foucu <tfoucu at gmail.com> | Thu Apr  5 21:43:18 2012 -0700| [e0f30a567f338257c9a44e52fca500bf2d0621aa] | committer: Michael Niedermayer

s302m: Add Channle Layout for 6 channels

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e0f30a567f338257c9a44e52fca500bf2d0621aa
---

 libavcodec/s302m.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/libavcodec/s302m.c b/libavcodec/s302m.c
index 4a17fa1..a6f207c 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;
     }



More information about the ffmpeg-cvslog mailing list