[FFmpeg-soc] [soc]: r3556 - eac3/ac3dec.c

jbr subversion at mplayerhq.hu
Sat Aug 23 06:25:47 CEST 2008


Author: jbr
Date: Sat Aug 23 06:25:46 2008
New Revision: 3556

Log:
fix error in r3555

Modified:
   eac3/ac3dec.c

Modified: eac3/ac3dec.c
==============================================================================
--- eac3/ac3dec.c	(original)
+++ eac3/ac3dec.c	Sat Aug 23 06:25:46 2008
@@ -999,11 +999,11 @@ static int decode_audio_block(AC3DecodeC
                     bit_alloc_stages[ch] = FFMAX(bit_alloc_stages[ch], 2);
                 }
             }
-        }
     } else if (!s->eac3 && !blk) {
         av_log(s->avctx, AV_LOG_ERROR, "new snr offsets must be present in block 0\n");
         return -1;
     }
+    }
 
     /* fast gain (E-AC-3 only) */
     if (s->fast_gain_syntax && get_bits1(gbc)) {



More information about the FFmpeg-soc mailing list