aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2012-06-17 19:08:23 +0300
committerMartin Storsjö <martin@martin.st>2012-06-17 22:50:06 +0300
commiteb3918c1fd9a363111457285002eaebbaaa18eed (patch)
tree0e4fe2e51940811bc21b179364be5b9a307ad224 /libavformat
parent634e874de58b6a1ad50134bea79505e146b87d39 (diff)
downloadffmpeg-eb3918c1fd9a363111457285002eaebbaaa18eed.tar.gz
amr: Mark an array const
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/amr.c2
1 files changed, 1 insertions, 1 deletions
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
};