diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2010-01-09 13:28:04 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2010-01-09 13:28:04 +0000 |
commit | 14b8607065ff7204cff29b108e42fd930a52a5ed (patch) | |
tree | eb04acb8a0efea46d50055f7af472d9597ab37c8 /libavcodec/aacenc.c | |
parent | b090930d432957a06f78701212b3024f93958f17 (diff) | |
download | ffmpeg-14b8607065ff7204cff29b108e42fd930a52a5ed.tar.gz |
Add support for hard-coded MDCT-related ff_sine_windows tables.
Originally committed as revision 21108 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/aacenc.c')
-rw-r--r-- | libavcodec/aacenc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/aacenc.c b/libavcodec/aacenc.c index ce102b6e3b..d32ae5e286 100644 --- a/libavcodec/aacenc.c +++ b/libavcodec/aacenc.c @@ -178,8 +178,8 @@ static av_cold int aac_encode_init(AVCodecContext *avctx) // window init ff_kbd_window_init(ff_aac_kbd_long_1024, 4.0, 1024); ff_kbd_window_init(ff_aac_kbd_short_128, 6.0, 128); - ff_sine_window_init(ff_sine_1024, 1024); - ff_sine_window_init(ff_sine_128, 128); + ff_init_ff_sine_windows(10); + ff_init_ff_sine_windows(7); s->samples = av_malloc(2 * 1024 * avctx->channels * sizeof(s->samples[0])); s->cpe = av_mallocz(sizeof(ChannelElement) * aac_chan_configs[avctx->channels-1][0]); |