AAC: simplify some calculations in decode_spectrum_and_dequant()
authorMåns Rullgård <mans@mansr.com>
Wed, 13 Jan 2010 16:46:32 +0000 (16:46 +0000)
committerMåns Rullgård <mans@mansr.com>
Wed, 13 Jan 2010 16:46:32 +0000 (16:46 +0000)
commit05f9d8fcaa1452c685fb7357f74f2a5af55b0ff7
treeae998e3d47d0e621dc832b4e1cee4741e6dc5552
parentc816d3d0425b94e95e182d53d94b528244d1f133
AAC: simplify some calculations in decode_spectrum_and_dequant()

Simplify cur_band_type, group_len, and coef/offset calculations.  This
makes the code easier to read and slightly faster.

Originally committed as revision 21189 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/aac.c