From 31bff21d2c0696cc1fb6aaeb6aff1090f8fced8f Mon Sep 17 00:00:00 2001 From: Clément Bœsch Date: Sat, 9 Jan 2016 12:38:36 +0100 Subject: lavc/ccaption_dec: mark row and font as const in capture_screen() --- libavcodec/ccaption_dec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavcodec') diff --git a/libavcodec/ccaption_dec.c b/libavcodec/ccaption_dec.c index 6e26342c82..e84c4800c8 100644 --- a/libavcodec/ccaption_dec.c +++ b/libavcodec/ccaption_dec.c @@ -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 */ -- cgit v1.2.3