Commit 31bff21d authored by Clément Bœsch's avatar Clément Bœsch

lavc/ccaption_dec: mark row and font as const in capture_screen()

parent d587fbb6
......@@ -291,8 +291,8 @@ static int capture_screen(CCaptionSubContext *ctx)
for (i = 0; screen->row_used && i < SCREEN_ROWS; i++)
{
if (CHECK_FLAG(screen->row_used, i)) {
char *row = screen->characters[i];
char *font = screen->fonts[i];
const char *row = screen->characters[i];
const char *font = screen->fonts[i];
int j = 0;
/* skip leading space */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment