aacenc: use the decoder's lcg PRNG
authorRostislav Pehlivanov <atomnuker@gmail.com>
Sat, 8 Oct 2016 00:47:04 +0000 (01:47 +0100)
committerRostislav Pehlivanov <atomnuker@gmail.com>
Wed, 12 Oct 2016 10:15:49 +0000 (11:15 +0100)
commit230178dfe25ebe27934062c9fa8e2a40e6ad2b0b
tree9815d504a8744bccf622d80ad2ed4de1f1b62284
parentcfa3c2655ac2bafe7b76f1e68c8fe6ecee03f1a8
aacenc: use the decoder's lcg PRNG

Using lfg was an overkill in this case where the random numbers
were only used for encoder descisions. Should increase result
uniformity between different FPUs and gives a slight speedup.

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
libavcodec/aaccoder.c
libavcodec/aacenc.c
libavcodec/aacenc.h
libavcodec/aacenc_utils.h