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

jbr subversion at mplayerhq.hu
Tue Jan 8 05:34:06 CET 2008


Author: jbr
Date: Tue Jan  8 05:34:06 2008
New Revision: 1800

Log:
revert an incorrect change made in r1789

Modified:
   eac3/eac3dec.c

Modified: eac3/eac3dec.c
==============================================================================
--- eac3/eac3dec.c	(original)
+++ eac3/eac3dec.c	Tue Jan  8 05:34:06 2008
@@ -522,7 +522,7 @@ static int parse_audfrm(AC3DecodeContext
     } else {
         /* LUT-based exponent strategy syntax */
         int frmchexpstr;
-        for (ch = !num_cpl_blocks; ch <= s->fbw_channels; ch++) {
+        for (ch = !((s->channel_mode > 1) && num_cpl_blocks); ch <= s->fbw_channels; ch++) {
             frmchexpstr = get_bits(gbc, 5);
             for (blk = 0; blk < 6; blk++) {
                 s->exp_strategy[blk][ch] = ff_eac3_frm_expstr[frmchexpstr][blk];



More information about the FFmpeg-soc mailing list