diff options
author | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2015-04-21 18:43:55 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2015-05-05 21:59:15 +0200 |
commit | b0b92ee04d1ee49a5d8b1aca718ea7d7d44932aa (patch) | |
tree | f22c6c34e61f896d4492721472c2fc09ad439c57 /libavcodec/dct-test.c | |
parent | d0e66cb1c7cf2a9ef12963cdc6fd49a35599a9dd (diff) | |
download | ffmpeg-b0b92ee04d1ee49a5d8b1aca718ea7d7d44932aa.tar.gz |
aacpsy: correct calculation of minath in psy_3gpp_init
The minimum of the ath(x, ATH_ADD) function depends on ATH_ADD.
This patch uses the first order approximation to determine it.
For ATH_ADD = 4 this results in the value at 3407.06812 (-5.24241638)
not the one at 3410 (-5.24237967).
CC: libav-stabl@libav.org
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
(cherry picked from commit 110f7f35fb615b97d983b1c6c6a714fddd28bcbe)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
(cherry picked from commit 7b66cf5ce7fdb8b3fa13459aab3f4d6ab559f1ea)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavcodec/dct-test.c')
0 files changed, 0 insertions, 0 deletions