Commit 18fb8d76 authored by Cheng Sun's avatar Cheng Sun Committed by Jean-Baptiste Kempf

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

Close #5704
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
(cherry picked from commit 083e1bd921a3e68ddbe7e70dc718fa5f5b850dd8)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 01ed407c
......@@ -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[] =
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment