diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-08-10 18:31:38 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-08-10 18:44:40 +0200 |
commit | db4918b72e11a1008fb5b82c2ecff4b1c43a49bb (patch) | |
tree | 4869a3eb790b579160589f2a9578547ae09490e1 | |
parent | 0b5627189d83bebbde86816c9daddb8f83489245 (diff) | |
download | ffmpeg-db4918b72e11a1008fb5b82c2ecff4b1c43a49bb.tar.gz |
avformat/tedcaptionsdec: make const arrays static const
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavformat/tedcaptionsdec.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); |