From d6d354254f6849fdd697acb1ea49a4c3a6562e55 Mon Sep 17 00:00:00 2001 From: Anshul Maheshwari Date: Tue, 20 Jan 2015 15:59:48 +0530 Subject: [PATCH] Initilaize array to known size Signed-off-by: Anshul Maheshwari Signed-off-by: Michael Niedermayer --- libavcodec/ccaption_dec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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