avcodec/ccaption_dec: Adding color and fonts for future use in screen
authorAnshul Maheshwari <er.anshul.maheshwari@gmail.com>
Tue, 20 Jan 2015 10:32:29 +0000 (16:02 +0530)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 29 Jan 2015 23:04:51 +0000 (00:04 +0100)
Signed-off-by: Anshul Maheshwari <er.anshul.maheshwari@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/ccaption_dec.c

index 1666797..9e78ee5 100644 (file)
@@ -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.