summaryrefslogtreecommitdiff
path: root/libavcodec/libamr.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/libamr.c')
-rw-r--r--libavcodec/libamr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/libamr.c b/libavcodec/libamr.c
index 241fc994b7..5a5145060c 100644
--- a/libavcodec/libamr.c
+++ b/libavcodec/libamr.c
@@ -444,7 +444,7 @@ static int amr_nb_decode_frame(AVCodecContext * avctx,
{
AMRContext *s = avctx->priv_data;
uint8_t*amrData=buf;
- static short block_size[16]={ 12, 13, 15, 17, 19, 20, 26, 31, 5, 0, 0, 0, 0, 0, 0, 0 };
+ static const uint8_t block_size[16]={ 12, 13, 15, 17, 19, 20, 26, 31, 5, 0, 0, 0, 0, 0, 0, 0 };
enum Mode dec_mode;
int packet_size;