[FFmpeg-soc] [soc]: r3028 - eac3/eac3dec.c

jbr subversion at mplayerhq.hu
Tue Aug 5 05:06:00 CEST 2008


Author: jbr
Date: Tue Aug  5 05:06:00 2008
New Revision: 3028

Log:
Remove parsing of dependent stream channel map. This is already done in the
AC-3 parser.

Modified:
   eac3/eac3dec.c

Modified: eac3/eac3dec.c
==============================================================================
--- eac3/eac3dec.c	(original)
+++ eac3/eac3dec.c	Tue Aug  5 05:06:00 2008
@@ -183,20 +183,6 @@ static int parse_bsi(AC3DecodeContext *s
         }
     }
 
-#if 0
-    /* dependent stream channel map */
-    if (s->frame_type == EAC3_FRAME_TYPE_DEPENDENT) {
-        if (get_bits1(gbc)) {
-            s->channel_map = get_bits(gbc, 16); //custom channel map
-        } else {
-            //default channel map based on acmod and lfeon
-            s->channel_map = ff_eac3_default_chmap[s->channel_mode];
-            if (s->lfe_on)
-                s->channel_map |= AC3_CHMAP_LFE;
-        }
-    }
-#endif
-
     /* mixing metadata */
     if (get_bits1(gbc)) {
         /* center and surround mix levels */



More information about the FFmpeg-soc mailing list