1
0
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:
Michael Niedermayer 2013-08-10 18:31:38 +02:00
parent 0b5627189d
commit db4918b72e

View File

@ -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);