[vlc-commits] demux: mp4: fix core audio side channel mapping

Francois Cartegnie git at videolan.org
Wed Dec 19 15:14:17 CET 2018


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Dec 18 15:47:52 2018 +0100| [59f90521530960f30dfe305fe664bd43811b4e13] | committer: Francois Cartegnie

demux: mp4: fix core audio side channel mapping

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

 modules/demux/mp4/coreaudio.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/modules/demux/mp4/coreaudio.h b/modules/demux/mp4/coreaudio.h
index e77dfcc3e0..3cbbaaa0eb 100644
--- a/modules/demux/mp4/coreaudio.h
+++ b/modules/demux/mp4/coreaudio.h
@@ -63,11 +63,11 @@ static const struct
     { CoreAudio_Bitmap_LFESCREEN,    AOUT_CHAN_LFE },
     { CoreAudio_Bitmap_BACKLEFT,     AOUT_CHAN_REARLEFT },
     { CoreAudio_Bitmap_BACKRIGHT,    AOUT_CHAN_REARRIGHT },
-    { CoreAudio_Bitmap_LEFTCENTER,   AOUT_CHAN_MIDDLELEFT },
-    { CoreAudio_Bitmap_RIGHTCENTER,  AOUT_CHAN_MIDDLERIGHT },
+    { CoreAudio_Bitmap_LEFTCENTER,   AOUT_CHAN_LEFT },
+    { CoreAudio_Bitmap_RIGHTCENTER,  AOUT_CHAN_RIGHT },
     { CoreAudio_Bitmap_BACKCENTER,   AOUT_CHAN_REARCENTER },
-    { CoreAudio_Bitmap_SIDELEFT,     AOUT_CHAN_LEFT },
-    { CoreAudio_Bitmap_SIDERIGHT,    AOUT_CHAN_RIGHT },
+    { CoreAudio_Bitmap_SIDELEFT,     AOUT_CHAN_MIDDLELEFT },
+    { CoreAudio_Bitmap_SIDERIGHT,    AOUT_CHAN_MIDDLERIGHT },
     { CoreAudio_Bitmap_TOPCENTER,    AOUT_CHAN_CENTER },
     { CoreAudio_Bitmap_TOPFRONTLEFT, AOUT_CHAN_LEFT },
     { CoreAudio_Bitmap_TOPFRONTENTER,AOUT_CHAN_CENTER },



More information about the vlc-commits mailing list