OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88ba88e
)
Initilaize array to known size
author
Anshul Maheshwari
<er.anshul.maheshwari@gmail.com>
Tue, 20 Jan 2015 10:29:48 +0000
(15:59 +0530)
committer
Michael Niedermayer
<michaelni@gmx.at>
Tue, 20 Jan 2015 13:39:39 +0000
(14:39 +0100)
Signed-off-by: Anshul Maheshwari <er.anshul.maheshwari@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/ccaption_dec.c
patch
|
blob
|
history
diff --git
a/libavcodec/ccaption_dec.c
b/libavcodec/ccaption_dec.c
index
3498d09
..
686cba3
100644
(file)
--- 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