diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2011-04-26 23:30:19 +0400 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2011-04-27 20:39:37 +0400 |
commit | 6271794041abbf79098b6c01b27f1539b3a4af5e (patch) | |
tree | 7cd8d9836fc09f8fc4d8b4077d0fad8ac039b744 /libavcodec/aacdec.c | |
parent | d70fa4c4238ffa69592fffa7c817532534f303c4 (diff) |
aacdec: use a scale of 2 in the LTP MDCT rather than doubling the coefficient
table values from the spec.
Diffstat (limited to 'libavcodec/aacdec.c')
-rw-r--r-- | libavcodec/aacdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/aacdec.c b/libavcodec/aacdec.c index bcc277c3c0..cbaecf9e2f 100644 --- a/libavcodec/aacdec.c +++ b/libavcodec/aacdec.c @@ -593,7 +593,7 @@ static av_cold int aac_decode_init(AVCodecContext *avctx) ff_mdct_init(&ac->mdct, 11, 1, 1.0); ff_mdct_init(&ac->mdct_small, 8, 1, 1.0); - ff_mdct_init(&ac->mdct_ltp, 11, 0, 1.0); + ff_mdct_init(&ac->mdct_ltp, 11, 0, 2.0); // window initialization ff_kbd_window_init(ff_aac_kbd_long_1024, 4.0, 1024); ff_kbd_window_init(ff_aac_kbd_short_128, 6.0, 128); |