diff options
author | Anshul Maheshwari <er.anshul.maheshwari@gmail.com> | 2015-01-20 16:02:29 +0530 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-01-30 00:04:51 +0100 |
commit | 93fac23b80e4cb92291ebd61c86d6c57cad41848 (patch) | |
tree | 109f5232ce50f1359976862ceb04c31a09b9466a | |
parent | 961f2e3aace04411c6f5f95fe9c24d8d6deb8911 (diff) | |
download | ffmpeg-93fac23b80e4cb92291ebd61c86d6c57cad41848.tar.gz |
avcodec/ccaption_dec: Adding color and fonts for future use in screen
Signed-off-by: Anshul Maheshwari <er.anshul.maheshwari@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/ccaption_dec.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/ccaption_dec.c b/libavcodec/ccaption_dec.c index 1666797e32..9e78ee5c89 100644 --- a/libavcodec/ccaption_dec.c +++ b/libavcodec/ccaption_dec.c @@ -137,6 +137,8 @@ static const uint8_t parity_table[256] = { 0, 1, 1, 0, 1, 0, 0, 1, struct Screen { /* +1 is used to compensate null character of string */ uint8_t characters[SCREEN_ROWS][SCREEN_COLUMNS+1]; + uint8_t colors[SCREEN_ROWS][SCREEN_COLUMNS+1]; + uint8_t fonts[SCREEN_ROWS][SCREEN_COLUMNS+1]; /* * Bitmask of used rows; if a bit is not set, the * corresponding row is not used. |