[FFmpeg-cvslog] Initilaize array to known size

Anshul Maheshwari git at videolan.org
Tue Jan 20 15:07:06 CET 2015


ffmpeg | branch: master | Anshul Maheshwari <er.anshul.maheshwari at gmail.com> | Tue Jan 20 16:17:48 2015 +0530| [d6d354254f6849fdd697acb1ea49a4c3a6562e55] | committer: Michael Niedermayer

Initilaize array to known size

Signed-off-by: Anshul Maheshwari <er.anshul.maheshwari at gmail.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d6d354254f6849fdd697acb1ea49a4c3a6562e55
---

 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 3498d09..686cba3 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



More information about the ffmpeg-cvslog mailing list