diff options
author | Anton Khirnov <anton@khirnov.net> | 2016-07-03 10:09:36 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2017-02-01 10:42:59 +0100 |
commit | fd9212f2edfe9b107c3c08ba2df5fd2cba5ab9e3 (patch) | |
tree | e9e285e1f4634de77b1657420b5121d109bed249 /libavcodec/g722dec.c | |
parent | b420a27e74750b60d2e064236afb10be06a38ace (diff) | |
download | ffmpeg-streaming-fd9212f2edfe9b107c3c08ba2df5fd2cba5ab9e3.zip ffmpeg-streaming-fd9212f2edfe9b107c3c08ba2df5fd2cba5ab9e3.tar.gz |
Mark some arrays that never change as const.
Diffstat (limited to 'libavcodec/g722dec.c')
-rw-r--r-- | libavcodec/g722dec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/g722dec.c b/libavcodec/g722dec.c index bfd4b42..f9605c9 100644 --- a/libavcodec/g722dec.c +++ b/libavcodec/g722dec.c @@ -80,9 +80,9 @@ static const int16_t low_inv_quant5[32] = { 587, 473, 370, 276, 190, 110, 35, -35 }; -static const int16_t *low_inv_quants[3] = { ff_g722_low_inv_quant6, - low_inv_quant5, - ff_g722_low_inv_quant4 }; +static const int16_t * const low_inv_quants[3] = { ff_g722_low_inv_quant6, + low_inv_quant5, + ff_g722_low_inv_quant4 }; static int g722_decode_frame(AVCodecContext *avctx, void *data, int *got_frame_ptr, AVPacket *avpkt) |