vlc | branch: master | Cheng Sun <[email protected]> | Tue Dec 20 18:22:25 
2011 +0000| [083e1bd921a3e68ddbe7e70dc718fa5f5b850dd8] | committer: 
Jean-Baptiste Kempf

Fix vorbis channel order (which led to crash and contradicted spec)

Close #5704

Signed-off-by: Jean-Baptiste Kempf <[email protected]>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=083e1bd921a3e68ddbe7e70dc718fa5f5b850dd8
---

 modules/codec/vorbis.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/codec/vorbis.c b/modules/codec/vorbis.c
index 6b42f98..3f4c802 100644
--- a/modules/codec/vorbis.c
+++ b/modules/codec/vorbis.c
@@ -129,7 +129,7 @@ static const uint32_t pi_6channels_in[] =
 
 /* recommended vorbis channel order for 4 channels */
 static const uint32_t pi_4channels_in[] =
-{ AOUT_CHAN_LEFT, AOUT_CHAN_RIGHT, AOUT_CHAN_CENTER, AOUT_CHAN_LFE, 0 };
+{ AOUT_CHAN_LEFT, AOUT_CHAN_RIGHT, AOUT_CHAN_REARLEFT, AOUT_CHAN_REARRIGHT, 0 
};
 
 /* recommended vorbis channel order for 3 channels */
 static const uint32_t pi_3channels_in[] =

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to