diff options
author | Alex Converse <alex.converse@gmail.com> | 2011-04-26 14:45:48 -0400 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2011-04-27 12:39:37 -0400 |
commit | d70fa4c4238ffa69592fffa7c817532534f303c4 (patch) | |
tree | bb1d0fdf72e89cce8fad6093fdb7cafef43752f6 /libavcodec/aac.h | |
parent | e4744b59aadd6e7064491c0228d6248289a6a85a (diff) | |
download | ffmpeg-d70fa4c4238ffa69592fffa7c817532534f303c4.tar.gz |
Define POW_SF2_ZERO in aac.h and use for ff_aac_pow2sf_tabp[] offsets instead
of hardcoding 200 everywhere.
Diffstat (limited to 'libavcodec/aac.h')
-rw-r--r-- | libavcodec/aac.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/aac.h b/libavcodec/aac.h index bbe7912517..63ed2511f7 100644 --- a/libavcodec/aac.h +++ b/libavcodec/aac.h @@ -130,6 +130,7 @@ typedef struct { #define SCALE_MAX_POS 255 ///< scalefactor index maximum value #define SCALE_MAX_DIFF 60 ///< maximum scalefactor difference allowed by standard #define SCALE_DIFF_ZERO 60 ///< codebook index corresponding to zero scalefactor indices difference +#define POW_SF2_ZERO 200 ///< ff_aac_pow2sf_tab index corresponding to pow(2, 0); /** * Long Term Prediction |