Mercurial > libavcodec.hg
changeset 10144:50ec8930f99e libavcodec
ff_sine_windows table contains only constant data, too.
author | reimar |
---|---|
date | Sun, 06 Sep 2009 08:56:10 +0000 |
parents | c5e8a5a044c3 |
children | 7955db355703 |
files | dsputil.h mdct.c |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/dsputil.h Sun Sep 06 08:53:14 2009 +0000 +++ b/dsputil.h Sun Sep 06 08:56:10 2009 +0000 @@ -757,7 +757,7 @@ 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);
--- a/mdct.c Sun Sep 06 08:53:14 2009 +0000 +++ b/mdct.c Sun Sep 06 08:56:10 2009 +0000 @@ -54,7 +54,7 @@ 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 };