OSDN Git Service

Dead code removal in the AAC encoder.
authorAlex Converse <alex.converse@gmail.com>
Fri, 17 Jul 2009 14:06:53 +0000 (14:06 +0000)
committerAlex Converse <alex.converse@gmail.com>
Fri, 17 Jul 2009 14:06:53 +0000 (14:06 +0000)
Originally committed as revision 19457 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/aaccoder.c

index 252b359..41f7c20 100644 (file)
@@ -89,11 +89,6 @@ static void abs_pow34_v(float *out, const float *in, const int size)
 #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};