diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2014-08-30 17:58:51 +0200 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2014-08-31 10:31:09 +0200 |
commit | 4fe448738e8d4d87295e1fc7b68bb04f7453c3b9 (patch) | |
tree | 163cb2227819c6a8f4215516ed9292b69449e517 /libavcodec/wma.h | |
parent | 3bc5d2a06401bec22865cff6084b35ecf757baa2 (diff) | |
download | ffmpeg-4fe448738e8d4d87295e1fc7b68bb04f7453c3b9.tar.gz |
WMA: add "const" to avoid warnings with hardcoded tables.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diffstat (limited to 'libavcodec/wma.h')
-rw-r--r-- | libavcodec/wma.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/wma.h b/libavcodec/wma.h index c4056ecef1..01244a09fd 100644 --- a/libavcodec/wma.h +++ b/libavcodec/wma.h @@ -115,7 +115,7 @@ typedef struct WMACodecContext { DECLARE_ALIGNED(32, float, coefs)[MAX_CHANNELS][BLOCK_MAX_SIZE]; DECLARE_ALIGNED(32, FFTSample, output)[BLOCK_MAX_SIZE * 2]; FFTContext mdct_ctx[BLOCK_NB_SIZES]; - float *windows[BLOCK_NB_SIZES]; + const float *windows[BLOCK_NB_SIZES]; /* output buffer for one frame and the last for IMDCT windowing */ DECLARE_ALIGNED(32, float, frame_out)[MAX_CHANNELS][BLOCK_MAX_SIZE * 2]; /* last frame info */ |