aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-06-11 00:24:54 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-06-11 00:48:41 +0200
commit9e40bd50e1dec885f3ec83059dd3bc9ac4966599 (patch)
treeddfdd9aa24925fc9e27ae543a7dfb361d8bc17b8
parent261b71559375ed2b6793d32573ae4b91dba9227b (diff)
downloadffmpeg-9e40bd50e1dec885f3ec83059dd3bc9ac4966599.tar.gz
avformat/movenc: Make static packed_size, const static
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavformat/movenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index 9b2c8da27b..adde4b2c23 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -4341,7 +4341,7 @@ int ff_mov_write_packet(AVFormatContext *s, AVPacket *pkt)
if (enc->codec_id == AV_CODEC_ID_AMR_NB) {
/* We must find out how many AMR blocks there are in one packet */
- static uint16_t packed_size[16] =
+ static const uint16_t packed_size[16] =
{13, 14, 16, 18, 20, 21, 27, 32, 6, 0, 0, 0, 0, 0, 0, 1};
int len = 0;