aboutsummaryrefslogtreecommitdiff
path: root/libavcodec/twinvq.c
diff options
context:
space:
mode:
authorReimar Döffinger2010-01-09 13:28:04 +0000
committerReimar Döffinger2010-01-09 13:28:04 +0000
commit14b8607065ff7204cff29b108e42fd930a52a5ed (patch)
treeeb04acb8a0efea46d50055f7af472d9597ab37c8 /libavcodec/twinvq.c
parentb090930d432957a06f78701212b3024f93958f17 (diff)
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/twinvq.c')
-rw-r--r--libavcodec/twinvq.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/twinvq.c b/libavcodec/twinvq.c
index 7131584232..f1073722d8 100644
--- a/libavcodec/twinvq.c
+++ b/libavcodec/twinvq.c
@@ -893,9 +893,9 @@ static av_cold void init_mdct_win(TwinContext *tctx)
}
- ff_sine_window_init(ff_sine_windows[av_log2(size_m) ], size_m );
- ff_sine_window_init(ff_sine_windows[av_log2(size_s/2) ], size_s/2);
- ff_sine_window_init(ff_sine_windows[av_log2(mtab->size)], mtab->size);
+ ff_init_ff_sine_windows(av_log2(size_m));
+ ff_init_ff_sine_windows(av_log2(size_s/2));
+ ff_init_ff_sine_windows(av_log2(mtab->size));
}
/**