From 93fac23b80e4cb92291ebd61c86d6c57cad41848 Mon Sep 17 00:00:00 2001 From: Anshul Maheshwari Date: Tue, 20 Jan 2015 16:02:29 +0530 Subject: [PATCH] avcodec/ccaption_dec: Adding color and fonts for future use in screen Signed-off-by: Anshul Maheshwari Signed-off-by: Michael Niedermayer --- libavcodec/ccaption_dec.c | 2 ++ 1 file changed, 2 insertions(+) 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.