diff options
author | Benjamin Larsson <banan@ludd.ltu.se> | 2009-01-11 10:40:05 +0000 |
---|---|---|
committer | Benjamin Larsson <banan@ludd.ltu.se> | 2009-01-11 10:40:05 +0000 |
commit | 336c2ca58587ce604cdbf0e9ba4c6baf9db8a949 (patch) | |
tree | a159dca269dfe27455d73d1f2ef4e0f5b985e7a7 | |
parent | 3d1b0fcd599438de27dcddc2f6cff7ab03714ac9 (diff) | |
download | ffmpeg-336c2ca58587ce604cdbf0e9ba4c6baf9db8a949.tar.gz |
Add size that is needed for the wmapro codec
Originally committed as revision 16533 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/dsputil.h | 3 | ||||
-rw-r--r-- | libavcodec/mdct.c | 5 |
2 files changed, 5 insertions, 3 deletions
diff --git a/libavcodec/dsputil.h b/libavcodec/dsputil.h index 88ed315e6a..a81d4184a5 100644 --- a/libavcodec/dsputil.h +++ b/libavcodec/dsputil.h @@ -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); diff --git a/libavcodec/mdct.c b/libavcodec/mdct.c index c85b82f9db..661f09ccdd 100644 --- a/libavcodec/mdct.c +++ b/libavcodec/mdct.c @@ -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. |