OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
634e874
)
amr: Mark an array const
author
Martin Storsjö
<martin@martin.st>
Sun, 17 Jun 2012 16:08:23 +0000
(19:08 +0300)
committer
Martin Storsjö
<martin@martin.st>
Sun, 17 Jun 2012 19:50:06 +0000
(22:50 +0300)
Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/amr.c
patch
|
blob
|
history
diff --git
a/libavformat/amr.c
b/libavformat/amr.c
index
efb5edd
..
f20bc0a
100644
(file)
--- 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
};