Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnshul Maheshwari <er.anshul.maheshwari@gmail.com>2015-01-20 13:29:48 +0300
committerMichael Niedermayer <michaelni@gmx.at>2015-01-20 16:39:39 +0300
commitd6d354254f6849fdd697acb1ea49a4c3a6562e55 (patch)
treee5e5eb65b15edb55a1c47b5f57d451921c15bb64 /libavcodec/ccaption_dec.c
parent88ba88e8877f30737f6145cb06484032923bcdd0 (diff)
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.c2
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