[FFmpeg-cvslog] amr: Mark an array const
Martin Storsjö
git at videolan.org
Mon Jun 18 20:25:38 CEST 2012
ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Sun Jun 17 19:08:23 2012 +0300| [eb3918c1fd9a363111457285002eaebbaaa18eed] | committer: Martin Storsjö
amr: Mark an array const
Signed-off-by: Martin Storsjö <martin at martin.st>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=eb3918c1fd9a363111457285002eaebbaaa18eed
---
libavformat/amr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/amr.c b/libavformat/amr.c
index efb5edd..f20bc0a 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
};
More information about the ffmpeg-cvslog
mailing list