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

jbr subversion at mplayerhq.hu
Sat May 31 23:32:07 CEST 2008


Author: jbr
Date: Sat May 31 23:32:07 2008
New Revision: 2289

Log:
cosmetics: remove unneeded braces

Modified:
   eac3/ac3dec.c

Modified: eac3/ac3dec.c
==============================================================================
--- eac3/ac3dec.c	(original)
+++ eac3/ac3dec.c	Sat May 31 23:32:07 2008
@@ -986,9 +986,8 @@ static int decode_audio_block(AC3DecodeC
             s->bit_alloc_params.slow_gain  = ff_ac3_slow_gain_tab[get_bits(gbc, 2)];
             s->bit_alloc_params.db_per_bit = ff_ac3_db_per_bit_tab[get_bits(gbc, 2)];
             s->bit_alloc_params.floor  = ff_ac3_floor_tab[get_bits(gbc, 3)];
-            for(ch=!s->cpl_in_use[blk]; ch<=s->channels; ch++) {
+            for(ch=!s->cpl_in_use[blk]; ch<=s->channels; ch++)
                 bit_alloc_stages[ch] = FFMAX(bit_alloc_stages[ch], 2);
-            }
         } else if (!blk) {
             av_log(s->avctx, AV_LOG_ERROR, "new bit allocation info must be present in block 0\n");
             return -1;



More information about the FFmpeg-soc mailing list