diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2014-08-29 18:23:52 +0200 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2014-08-30 16:33:00 +0200 |
commit | e2cd28c9265e21b1eeeceaece1da4109712e7555 (patch) | |
tree | f80392f92af8c3a5a77903ce2e9e5e0fa64582dc /libavcodec/fft_template.c | |
parent | ce36d80881132d3ddb7d2d859a604106cf7e92d4 (diff) | |
download | ffmpeg-e2cd28c9265e21b1eeeceaece1da4109712e7555.tar.gz |
fft: add missing const.
This table was the largest object in FFmpeg's .data,
and really should be in .rodata.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diffstat (limited to 'libavcodec/fft_template.c')
-rw-r--r-- | libavcodec/fft_template.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/fft_template.c b/libavcodec/fft_template.c index b8d6417fd1..697d1fc4df 100644 --- a/libavcodec/fft_template.c +++ b/libavcodec/fft_template.c @@ -229,7 +229,7 @@ static void fft_calc_c(FFTContext *s, FFTComplex *z) { FFTSample tmp1, tmp2, tmp3, tmp4, tmp5, tmp6, tmp7, tmp8; FFTComplex *tmpz; FFTSample w_re, w_im; - FFTSample *w_re_ptr, *w_im_ptr; + const FFTSample *w_re_ptr, *w_im_ptr; const int fft_size = (1 << s->nbits); int64_t accu; |