mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
aacdec_template: fix non-power-of-two MDCT scale sign
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
This commit is contained in:
parent
594cd1f38a
commit
c34ece57c7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user