[FFmpeg-cvslog] r16533 - in trunk/libavcodec: dsputil.h mdct.c

banan subversion
Sun Jan 11 11:40:05 CET 2009


Author: banan
Date: Sun Jan 11 11:40:05 2009
New Revision: 16533

Log:
Add size that is needed for the wmapro codec

Modified:
   trunk/libavcodec/dsputil.h
   trunk/libavcodec/mdct.c

Modified: trunk/libavcodec/dsputil.h
==============================================================================
--- trunk/libavcodec/dsputil.h	Sun Jan 11 11:36:19 2009	(r16532)
+++ trunk/libavcodec/dsputil.h	Sun Jan 11 11:40:05 2009	(r16533)
@@ -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);

Modified: trunk/libavcodec/mdct.c
==============================================================================
--- trunk/libavcodec/mdct.c	Sun Jan 11 11:36:19 2009	(r16532)
+++ trunk/libavcodec/mdct.c	Sun Jan 11 11:40:05 2009	(r16533)
@@ -53,8 +53,9 @@ DECLARE_ALIGNED(16, float, ff_sine_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.




More information about the ffmpeg-cvslog mailing list