[FFmpeg-cvslog] r19785 - in trunk/libavcodec: dsputil.h mdct.c
reimar
subversion
Sun Sep 6 10:56:10 CEST 2009
Author: reimar
Date: Sun Sep 6 10:56:10 2009
New Revision: 19785
Log:
ff_sine_windows table contains only constant data, too.
Modified:
trunk/libavcodec/dsputil.h
trunk/libavcodec/mdct.c
Modified: trunk/libavcodec/dsputil.h
==============================================================================
--- trunk/libavcodec/dsputil.h Sun Sep 6 10:53:14 2009 (r19784)
+++ trunk/libavcodec/dsputil.h Sun Sep 6 10:56:10 2009 (r19785)
@@ -757,7 +757,7 @@ 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 *ff_sine_windows[6];
+extern float * const ff_sine_windows[6];
int ff_mdct_init(MDCTContext *s, int nbits, int inverse, double scale);
void ff_imdct_calc_c(MDCTContext *s, FFTSample *output, const FFTSample *input);
Modified: trunk/libavcodec/mdct.c
==============================================================================
--- trunk/libavcodec/mdct.c Sun Sep 6 10:53:14 2009 (r19784)
+++ trunk/libavcodec/mdct.c Sun Sep 6 10:56:10 2009 (r19785)
@@ -54,7 +54,7 @@ DECLARE_ALIGNED(16, float, ff_sine_512 [
DECLARE_ALIGNED(16, float, ff_sine_1024[1024]);
DECLARE_ALIGNED(16, float, ff_sine_2048[2048]);
DECLARE_ALIGNED(16, float, ff_sine_4096[4096]);
-float *ff_sine_windows[6] = {
+float * const ff_sine_windows[6] = {
ff_sine_128, ff_sine_256, ff_sine_512, ff_sine_1024, ff_sine_2048, ff_sine_4096
};
More information about the ffmpeg-cvslog
mailing list