From eb3918c1fd9a363111457285002eaebbaaa18eed Mon Sep 17 00:00:00 2001 From: Martin Storsjö Date: Sun, 17 Jun 2012 19:08:23 +0300 Subject: amr: Mark an array const MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Martin Storsjö --- libavformat/amr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/amr.c') diff --git a/libavformat/amr.c b/libavformat/amr.c index efb5eddbd9..f20bc0aa69 100644 --- a/libavformat/amr.c +++ b/libavformat/amr.c @@ -124,7 +124,7 @@ static int amr_read_packet(AVFormatContext *s, AVPacket *pkt) size = packed_size[mode] + 1; } else if (enc->codec_id == CODEC_ID_AMR_WB) { - static uint8_t packed_size[16] = { + static const uint8_t packed_size[16] = { 18, 24, 33, 37, 41, 47, 51, 59, 61, 6, 6, 0, 0, 0, 1, 1 }; -- cgit v1.2.3