From db4918b72e11a1008fb5b82c2ecff4b1c43a49bb Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 10 Aug 2013 18:31:38 +0200 Subject: [PATCH] avformat/tedcaptionsdec: make const arrays static const Signed-off-by: Michael Niedermayer --- libavformat/tedcaptionsdec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavformat/tedcaptionsdec.c b/libavformat/tedcaptionsdec.c index b468969590..68063fafbe 100644 --- a/libavformat/tedcaptionsdec.c +++ b/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);