aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRostislav Pehlivanov <atomnuker@gmail.com>2017-07-12 02:15:19 +0100
committerRostislav Pehlivanov <atomnuker@gmail.com>2017-07-12 02:15:19 +0100
commitc34ece57c7a6d0e7df4259be13956e06d2b7b47d (patch)
tree6ea63552807313af9bcdf7f9826e7e1ef022fbd0
parent594cd1f38a7bbd15fb25529701000ef0b5d1ac12 (diff)
downloadffmpeg-c34ece57c7a6d0e7df4259be13956e06d2b7b47d.tar.gz
aacdec_template: fix non-power-of-two MDCT scale sign
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
-rw-r--r--libavcodec/aacdec_template.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/aacdec_template.c b/libavcodec/aacdec_template.c
index 2a2d43f0a4..4cbbc6023a 100644
--- a/libavcodec/aacdec_template.c
+++ b/libavcodec/aacdec_template.c
@@ -1211,7 +1211,7 @@ static av_cold int aac_decode_init(AVCodecContext *avctx)
AAC_RENAME_32(ff_mdct_init)(&ac->mdct_small, 8, 1, 1.0 / RANGE15(128.0));
AAC_RENAME_32(ff_mdct_init)(&ac->mdct_ltp, 11, 0, RANGE15(-2.0));
#if !USE_FIXED
- ret = ff_mdct15_init(&ac->mdct480, 1, 5, -1.0f/(16*1024*960));
+ ret = ff_mdct15_init(&ac->mdct480, 1, 5, 1.0f/(16*1024*960));
if (ret < 0)
return ret;
#endif