[FFmpeg-cvslog] r15092 - trunk/libavcodec/eac3dec.c

jbr subversion
Sun Aug 31 04:38:38 CEST 2008


Author: jbr
Date: Sun Aug 31 04:38:38 2008
New Revision: 15092

Log:
skip converter exponent strategy for all channels at once

Modified:
   trunk/libavcodec/eac3dec.c

Modified: trunk/libavcodec/eac3dec.c
==============================================================================
--- trunk/libavcodec/eac3dec.c	(original)
+++ trunk/libavcodec/eac3dec.c	Sun Aug 31 04:38:38 2008
@@ -415,9 +415,7 @@ int ff_eac3_parse_header(AC3DecodeContex
     /* original exponent strategies if this stream was converted from AC-3 */
     if (s->frame_type == EAC3_FRAME_TYPE_INDEPENDENT &&
             (s->num_blocks == 6 || get_bits1(gbc))) {
-        for (ch = 1; ch <= s->fbw_channels; ch++) {
-            skip_bits(gbc, 5); // skip converter channel exponent strategy
-        }
+        skip_bits(gbc, 5 * s->fbw_channels); // skip converter channel exponent strategy
     }
 
     /* determine which channels use AHT */




More information about the ffmpeg-cvslog mailing list