mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avformat/tedcaptionsdec: make const arrays static const
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
0b5627189d
commit
db4918b72e
@ -153,7 +153,8 @@ static int parse_label(AVIOContext *pb, int *cur_byte, AVBPrint *bp)
|
||||
|
||||
static int parse_boolean(AVIOContext *pb, int *cur_byte, int *result)
|
||||
{
|
||||
const char *text[] = { "false", "true" }, *p;
|
||||
static const char * const text[] = { "false", "true" };
|
||||
const char *p;
|
||||
int i;
|
||||
|
||||
skip_spaces(pb, cur_byte);
|
||||
|
Loading…
Reference in New Issue
Block a user