]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/aacenc_utils.h
Merge commit '458e53f51fc75d08df884f8e9eb3d7ded23e97b3'
[ffmpeg] / libavcodec / aacenc_utils.h
index 5b308f2efe5ff796bdb0cb24e1c93bd5e248295b..736e4a06dadea0732390aeec14a99043002e61ac 100644 (file)
@@ -182,16 +182,6 @@ static av_always_inline float bval2bmax(float b)
     return 0.001f + 0.0035f * (b*b*b) / (15.5f*15.5f*15.5f);
 }
 
-/*
- * linear congruential pseudorandom number generator, copied from the decoder
- */
-static inline int lcg_random(unsigned previous_val)
-{
-    union { unsigned u; int s; } v = { previous_val * 1664525u + 1013904223 };
-    return v.s;
-}
-
-
 /*
  * Compute a nextband map to be used with SF delta constraint utilities.
  * The nextband array should contain 128 elements, and positions that don't