changeset 8567:0d5b2b0e7a87 libavcodec

Add size that is needed for the wmapro codec
author banan
date Sun, 11 Jan 2009 10:40:05 +0000
parents 48a4d9f4c6f8
children 4a93620c5aac
files dsputil.h mdct.c
diffstat 2 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/dsputil.h	Sun Jan 11 08:03:45 2009 +0000
+++ b/dsputil.h	Sun Jan 11 10:40:05 2009 +0000
@@ -731,7 +731,8 @@
 extern float ff_sine_512 [ 512];
 extern float ff_sine_1024[1024];
 extern float ff_sine_2048[2048];
-extern float *ff_sine_windows[5];
+extern float ff_sine_4096[4096];
+extern float *ff_sine_windows[6];
 
 int ff_mdct_init(MDCTContext *s, int nbits, int inverse);
 void ff_imdct_calc_c(MDCTContext *s, FFTSample *output, const FFTSample *input);
--- a/mdct.c	Sun Jan 11 08:03:45 2009 +0000
+++ b/mdct.c	Sun Jan 11 10:40:05 2009 +0000
@@ -53,8 +53,9 @@
 DECLARE_ALIGNED(16, float, ff_sine_512 [ 512]);
 DECLARE_ALIGNED(16, float, ff_sine_1024[1024]);
 DECLARE_ALIGNED(16, float, ff_sine_2048[2048]);
-float *ff_sine_windows[5] = {
-    ff_sine_128, ff_sine_256, ff_sine_512, ff_sine_1024, ff_sine_2048,
+DECLARE_ALIGNED(16, float, ff_sine_4096[4096]);
+float *ff_sine_windows[6] = {
+    ff_sine_128, ff_sine_256, ff_sine_512, ff_sine_1024, ff_sine_2048, ff_sine_4096
 };
 
 // Generate a sine window.