[vlc-commits] Fix vorbis channel order (which led to crash and contradicted spec)
Cheng Sun
git at videolan.org
Wed Dec 21 01:22:17 CET 2011
vlc | branch: master | Cheng Sun <chengsun9 at gmail.com> | 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 <jb at videolan.org>
> 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[] =
More information about the vlc-commits
mailing list