[FFmpeg-cvslog] aacdec_template: fix non-power-of-two MDCT scale sign

Rostislav Pehlivanov git at videolan.org
Wed Jul 12 04:17:37 EEST 2017


ffmpeg | branch: master | Rostislav Pehlivanov <atomnuker at gmail.com> | Wed Jul 12 02:15:19 2017 +0100| [c34ece57c7a6d0e7df4259be13956e06d2b7b47d] | committer: Rostislav Pehlivanov

aacdec_template: fix non-power-of-two MDCT scale sign

Signed-off-by: Rostislav Pehlivanov <atomnuker at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c34ece57c7a6d0e7df4259be13956e06d2b7b47d
---

 libavcodec/aacdec_template.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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



More information about the ffmpeg-cvslog mailing list