Mercurial > libavcodec.hg
diff aaccoder.c @ 9960:bd37369189de libavcodec
Dead code removal in the AAC encoder.
author | alexc |
---|---|
date | Fri, 17 Jul 2009 14:06:53 +0000 |
parents | 6fb2be900484 |
children | c0d721961a7f |
line wrap: on
line diff
--- a/aaccoder.c Fri Jul 17 09:07:38 2009 +0000 +++ b/aaccoder.c Fri Jul 17 14:06:53 2009 +0000 @@ -89,11 +89,6 @@ #endif /* USE_REALLY_FULL_SEARCH */ } -static av_always_inline int quant2(float coef, const float Q) -{ - return pow(coef * Q, 0.75); -} - static const uint8_t aac_cb_range [12] = {0, 3, 3, 3, 3, 9, 9, 8, 8, 13, 13, 17}; static const uint8_t aac_cb_maxval[12] = {0, 1, 1, 2, 2, 4, 4, 7, 7, 12, 12, 16};