diff options
author | Alex Converse <alex.converse@gmail.com> | 2010-07-19 18:37:45 +0000 |
---|---|---|
committer | Alex Converse <alex.converse@gmail.com> | 2010-07-19 18:37:45 +0000 |
commit | 6d9f1b67e8e5bbce598d6c7a6d0ec8a1c3ba528b (patch) | |
tree | cfad6513efe29d2940e5b9b4de135d10c7f97485 | |
parent | 2bb1d0e77adf369e6e07a4f58a56b1589b0c1490 (diff) | |
download | ffmpeg-6d9f1b67e8e5bbce598d6c7a6d0ec8a1c3ba528b.tar.gz |
Cosmetics: Whitespace
Originally committed as revision 24333 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/aaccoder.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/libavcodec/aaccoder.c b/libavcodec/aaccoder.c index a2e15c72fc..f76cbb1770 100644 --- a/libavcodec/aaccoder.c +++ b/libavcodec/aaccoder.c @@ -179,23 +179,23 @@ static av_always_inline float quantize_and_encode_band_cost_template( if (cost >= uplim) return uplim; if (pb) { - put_bits(pb, ff_aac_spectral_bits[cb-1][curidx], ff_aac_spectral_codes[cb-1][curidx]); - if (BT_UNSIGNED) - for (j = 0; j < dim; j++) - if (ff_aac_codebook_vectors[cb-1][curidx*dim+j] != 0.0f) - put_bits(pb, 1, in[i+j] < 0.0f); - if (BT_ESC) { - for (j = 0; j < 2; j++) { - if (ff_aac_codebook_vectors[cb-1][curidx*2+j] == 64.0f) { - int coef = av_clip(quant(fabsf(in[i+j]), Q), 0, 8191); - int len = av_log2(coef); + put_bits(pb, ff_aac_spectral_bits[cb-1][curidx], ff_aac_spectral_codes[cb-1][curidx]); + if (BT_UNSIGNED) + for (j = 0; j < dim; j++) + if (ff_aac_codebook_vectors[cb-1][curidx*dim+j] != 0.0f) + put_bits(pb, 1, in[i+j] < 0.0f); + if (BT_ESC) { + for (j = 0; j < 2; j++) { + if (ff_aac_codebook_vectors[cb-1][curidx*2+j] == 64.0f) { + int coef = av_clip(quant(fabsf(in[i+j]), Q), 0, 8191); + int len = av_log2(coef); - put_bits(pb, len - 4 + 1, (1 << (len - 4 + 1)) - 2); - put_bits(pb, len, coef & ((1 << len) - 1)); + put_bits(pb, len - 4 + 1, (1 << (len - 4 + 1)) - 2); + put_bits(pb, len, coef & ((1 << len) - 1)); + } } } } - } } if (bits) |