avformat/tedcaptionsdec: make const arrays static const

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/37/head
Michael Niedermayer 12 years ago
parent 0b5627189d
commit db4918b72e
  1. 3
      libavformat/tedcaptionsdec.c

@ -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…
Cancel
Save