diff options
author | Clément Bœsch <u@pkh.me> | 2016-01-09 12:38:36 +0100 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2016-01-09 12:38:36 +0100 |
commit | 31bff21d2c0696cc1fb6aaeb6aff1090f8fced8f (patch) | |
tree | c6e5a13521f3ac80e7654868ee616cbdb781c469 /libavcodec | |
parent | d587fbb676a944f874b22baa3065fb8ca93d37a2 (diff) |
lavc/ccaption_dec: mark row and font as const in capture_screen()
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/ccaption_dec.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 */ |