Initilaize array to known size

Signed-off-by: Anshul Maheshwari <er.anshul.maheshwari@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/105/head
Anshul Maheshwari 10 years ago committed by Michael Niedermayer
parent 88ba88e887
commit d6d354254f
  1. 2
      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

Loading…
Cancel
Save