mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
amr: Mark an array const
Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
parent
634e874de5
commit
eb3918c1fd
@ -124,7 +124,7 @@ static int amr_read_packet(AVFormatContext *s, AVPacket *pkt)
|
|||||||
|
|
||||||
size = packed_size[mode] + 1;
|
size = packed_size[mode] + 1;
|
||||||
} else if (enc->codec_id == CODEC_ID_AMR_WB) {
|
} 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
|
18, 24, 33, 37, 41, 47, 51, 59, 61, 6, 6, 0, 0, 0, 1, 1
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user