aacdec: Use macros for constants
authorRostislav Pehlivanov <atomnuker@gmail.com>
Mon, 13 Apr 2015 23:33:52 +0000 (00:33 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 14 Apr 2015 16:04:02 +0000 (18:04 +0200)
commita61c75e9f77a063cdcf2e68ee752c08a3ff8173d
tree6bd12e2b869d3e8d5f0a97a9d70d44d8b39a6506
parent37d93fdbf0fec0eac885974c01fba99826ae7763
aacdec: Use macros for constants

This commit replaces the previous hardcoded constants with both new and previously
defined macros from aac.h. This change makes it easy for anyone reading the code
to know how encoding and decoding scalefactors works. It's also possibly
a step in unifying some of the code across both the encoder and decoder.

Reviewed-by: Claudio Freire <klaussfreire@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/aacdec.c