diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2008-05-31 21:37:28 +0000 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2008-05-31 21:37:28 +0000 |
commit | aa148649a449fb09149868a70a88d6f651a35be2 (patch) | |
tree | da7af8c47e9aa807f5ee06a0ba0b817082adea46 /libavcodec/ac3dec.c | |
parent | 7e13b31c198df714d15748d2b2585a508fb9f6fd (diff) | |
download | ffmpeg-aa148649a449fb09149868a70a88d6f651a35be2.tar.gz |
cosmetics: remove unneeded braces
Originally committed as revision 13586 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ac3dec.c')
-rw-r--r-- | libavcodec/ac3dec.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/ac3dec.c b/libavcodec/ac3dec.c index 57788c153a..45296aa7bf 100644 --- a/libavcodec/ac3dec.c +++ b/libavcodec/ac3dec.c @@ -951,9 +951,8 @@ static int ac3_parse_audio_block(AC3DecodeContext *s, int blk) 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; ch<=s->channels; ch++) { + for(ch=!s->cpl_in_use; 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; |