]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
Add size that is needed for the wmapro codec
authorbanan <banan@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Sun, 11 Jan 2009 10:40:05 +0000 (10:40 +0000)
committerbanan <banan@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Sun, 11 Jan 2009 10:40:05 +0000 (10:40 +0000)
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16533 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

libavcodec/dsputil.h
libavcodec/mdct.c

index 88ed315e6af7ab9faf7064f2be12f6d770f4136d..a81d4184a56e4b5a0d96112ae23660d4891f6054 100644 (file)
@@ -731,7 +731,8 @@ extern float ff_sine_256 [ 256];
 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);
index c85b82f9dbe4f8266d919c270e3fbb8159474bbd..661f09ccdd0393e48b05b36678463df75c515e73 100644 (file)
@@ -53,8 +53,9 @@ DECLARE_ALIGNED(16, float, ff_sine_256 [ 256]);
 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.