diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-11-22 14:10:13 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-11-22 14:10:47 +0100 |
commit | 0b9a9e0e2ccdb5d0fa7956d805e3f5f02d9d9a53 (patch) | |
tree | e36564d83ce41bd2c9f6ea43f7d95995d86790a4 | |
parent | 33fc1ccb4910b05a0f64b47fc2957fd73d5806ac (diff) | |
download | ffmpeg-0b9a9e0e2ccdb5d0fa7956d805e3f5f02d9d9a53.tar.gz |
avcodec/libspeexdec: make array const
Found-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/libspeexdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/libspeexdec.c b/libavcodec/libspeexdec.c index 479c0108cd..a5f52d1de6 100644 --- a/libavcodec/libspeexdec.c +++ b/libavcodec/libspeexdec.c @@ -63,7 +63,7 @@ static av_cold int libspeex_decode_init(AVCodecContext *avctx) return AVERROR_PATCHWELCOME; } - s->pktsize = ((int[]){5,10,15,20,20,28,28,38,38,46,62})[quality]; + s->pktsize = ((const int[]){5,10,15,20,20,28,28,38,38,46,62})[quality]; spx_mode = 0; } else if (header) { |