Mercurial > libavcodec.hg
comparison ac3dec.c @ 8269:e7949e116f56 libavcodec
cosmetics: reindent after last commit
author | jbr |
---|---|
date | Sat, 06 Dec 2008 15:37:04 +0000 |
parents | 4dd63fc58a87 |
children | 0fc2b35a1c14 |
comparison
equal
deleted
inserted
replaced
8268:4dd63fc58a87 | 8269:e7949e116f56 |
---|---|
991 /* decode exponents for each channel */ | 991 /* decode exponents for each channel */ |
992 for (ch = !cpl_in_use; ch <= s->channels; ch++) { | 992 for (ch = !cpl_in_use; ch <= s->channels; ch++) { |
993 if (s->exp_strategy[blk][ch] != EXP_REUSE) { | 993 if (s->exp_strategy[blk][ch] != EXP_REUSE) { |
994 s->dexps[ch][0] = get_bits(gbc, 4) << !ch; | 994 s->dexps[ch][0] = get_bits(gbc, 4) << !ch; |
995 if (decode_exponents(gbc, s->exp_strategy[blk][ch], | 995 if (decode_exponents(gbc, s->exp_strategy[blk][ch], |
996 s->num_exp_groups[ch], s->dexps[ch][0], | 996 s->num_exp_groups[ch], s->dexps[ch][0], |
997 &s->dexps[ch][s->start_freq[ch]+!!ch])) { | 997 &s->dexps[ch][s->start_freq[ch]+!!ch])) { |
998 av_log(s->avctx, AV_LOG_ERROR, "exponent out-of-range\n"); | 998 av_log(s->avctx, AV_LOG_ERROR, "exponent out-of-range\n"); |
999 return -1; | 999 return -1; |
1000 } | 1000 } |
1001 if(ch != CPL_CH && ch != s->lfe_ch) | 1001 if(ch != CPL_CH && ch != s->lfe_ch) |
1002 skip_bits(gbc, 2); /* skip gainrng */ | 1002 skip_bits(gbc, 2); /* skip gainrng */ |