Author: jbr
Date: Tue Aug  5 05:14:55 2008
New Revision: 3030

Log:
skip the custom channel map. it is currently unused. there is already a
function in the AC-3 parser which could be used to get this value if it is
ever needed in the future.

Modified:
   eac3/eac3dec.c

Modified: eac3/eac3dec.c
==============================================================================
--- eac3/eac3dec.c      (original)
+++ eac3/eac3dec.c      Tue Aug  5 05:14:55 2008
@@ -183,19 +183,12 @@ 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;
+            skip_bits(gbc, 16); // skip custom channel map
         }
     }
-#endif
 
     /* mixing metadata */
     if (get_bits1(gbc)) {
_______________________________________________
FFmpeg-soc mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc

Reply via email to