Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2016-01-09 14:38:36 +0300
committerClément Bœsch <u@pkh.me>2016-01-09 14:38:36 +0300
commit31bff21d2c0696cc1fb6aaeb6aff1090f8fced8f (patch)
treec6e5a13521f3ac80e7654868ee616cbdb781c469 /libavcodec/ccaption_dec.c
parentd587fbb676a944f874b22baa3065fb8ca93d37a2 (diff)
lavc/ccaption_dec: mark row and font as const in capture_screen()
Diffstat (limited to 'libavcodec/ccaption_dec.c')
-rw-r--r--libavcodec/ccaption_dec.c4
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 */