[FFmpeg-cvslog] r19919 - trunk/libavcodec/ac3tab.c

jbr subversion
Sat Sep 19 06:56:23 CEST 2009


Author: jbr
Date: Sat Sep 19 06:56:22 2009
New Revision: 19919

Log:
Update AC-3 channel map.  2F/2R layout only has 4 channels.  This correction 
does not change any current channel mapping behavior.

Modified:
   trunk/libavcodec/ac3tab.c

Modified: trunk/libavcodec/ac3tab.c
==============================================================================
--- trunk/libavcodec/ac3tab.c	Sat Sep 19 03:46:03 2009	(r19918)
+++ trunk/libavcodec/ac3tab.c	Sat Sep 19 06:56:22 2009	(r19919)
@@ -108,7 +108,7 @@ const uint16_t ff_ac3_channel_layout_tab
  */
 const uint8_t ff_ac3_enc_channel_map[8][2][6] = {
     COMMON_CHANNEL_MAP
-    { { 0, 1, 2, 3, 4, }, { 0, 1, 3, 4, 2,   } },
+    { { 0, 1, 2, 3,    }, { 0, 1, 3, 4, 2,   } },
     { { 0, 2, 1, 3, 4, }, { 0, 2, 1, 4, 5, 3 } },
 };
 
@@ -118,7 +118,7 @@ const uint8_t ff_ac3_enc_channel_map[8][
  */
 const uint8_t ff_ac3_dec_channel_map[8][2][6] = {
     COMMON_CHANNEL_MAP
-    { { 0, 1, 2, 3, 4, }, { 0, 1, 4, 2, 3,   } },
+    { { 0, 1, 2, 3,    }, { 0, 1, 4, 2, 3,   } },
     { { 0, 2, 1, 3, 4, }, { 0, 2, 1, 5, 3, 4 } },
 };
 



More information about the ffmpeg-cvslog mailing list