diff options
author | Anshul Maheshwari <er.anshul.maheshwari@gmail.com> | 2015-01-20 15:59:48 +0530 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-01-20 14:39:39 +0100 |
commit | d6d354254f6849fdd697acb1ea49a4c3a6562e55 (patch) | |
tree | e5e5eb65b15edb55a1c47b5f57d451921c15bb64 /libavcodec/ccaption_dec.c | |
parent | 88ba88e8877f30737f6145cb06484032923bcdd0 (diff) | |
download | ffmpeg-d6d354254f6849fdd697acb1ea49a4c3a6562e55.tar.gz |
Initilaize array to known size
Signed-off-by: Anshul Maheshwari <er.anshul.maheshwari@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/ccaption_dec.c')
-rw-r--r-- | libavcodec/ccaption_dec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ccaption_dec.c b/libavcodec/ccaption_dec.c index 3498d09421..686cba3294 100644 --- a/libavcodec/ccaption_dec.c +++ b/libavcodec/ccaption_dec.c @@ -63,7 +63,7 @@ enum cc_font { CCFONT_UNDERLINED_ITALICS, }; -static const unsigned char pac2_attribs[][3] = // Color, font, ident +static const unsigned char pac2_attribs[32][3] = // Color, font, ident { { CCCOL_WHITE, CCFONT_REGULAR, 0 }, // 0x40 || 0x60 { CCCOL_WHITE, CCFONT_UNDERLINED, 0 }, // 0x41 || 0x61 |