summaryrefslogtreecommitdiff
path: root/libavcodec/fft_table.h
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2014-08-29 18:23:52 +0200
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2014-08-30 16:33:00 +0200
commite2cd28c9265e21b1eeeceaece1da4109712e7555 (patch)
treef80392f92af8c3a5a77903ce2e9e5e0fa64582dc /libavcodec/fft_table.h
parentce36d80881132d3ddb7d2d859a604106cf7e92d4 (diff)
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_table.h')
-rw-r--r--libavcodec/fft_table.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/fft_table.h b/libavcodec/fft_table.h
index 7f3142d7a9..4cd3a45b3a 100644
--- a/libavcodec/fft_table.h
+++ b/libavcodec/fft_table.h
@@ -59,7 +59,7 @@
#define MAX_LOG2_NFFT 16 //!< Specifies maximum allowed fft size
#define MAX_FFT_SIZE (1 << MAX_LOG2_NFFT)
-extern int32_t w_tab_sr[];
+extern const int32_t w_tab_sr[];
extern uint16_t fft_offsets_lut[];
void ff_fft_lut_init(uint16_t *table, int off, int size, int *index);