diff dsputil.h @ 10174:89cd870ca180 libavcodec

Add two more sizes to ff_sine_windows[] and also pad it with NULLs so that FF_ELEMS(ff_sine_windows[x]) == 1 << x. Fix issue 1384.
author vitor
date Tue, 15 Sep 2009 16:18:16 +0000
parents 8d369aee733f
children 5cf49858179a
line wrap: on
line diff
--- a/dsputil.h	Tue Sep 15 15:06:04 2009 +0000
+++ b/dsputil.h	Tue Sep 15 16:18:16 2009 +0000
@@ -760,13 +760,15 @@
  * @param   n       size of half window
  */
 void ff_sine_window_init(float *window, int n);
+extern float ff_sine_32  [  32];
+extern float ff_sine_64  [  64];
 extern float ff_sine_128 [ 128];
 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_4096[4096];
-extern float * const ff_sine_windows[6];
+extern float * const ff_sine_windows[13];
 
 int ff_mdct_init(MDCTContext *s, int nbits, int inverse, double scale);
 void ff_imdct_calc_c(MDCTContext *s, FFTSample *output, const FFTSample *input);