git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d587fbb
)
lavc/ccaption_dec: mark row and font as const in capture_screen()
author
Clément Bœsch
<u@pkh.me>
Sat, 9 Jan 2016 11:38:36 +0000
(12:38 +0100)
committer
Clément Bœsch
<u@pkh.me>
Sat, 9 Jan 2016 11:38:36 +0000
(12:38 +0100)
libavcodec/ccaption_dec.c
patch
|
blob
|
history
diff --git
a/libavcodec/ccaption_dec.c
b/libavcodec/ccaption_dec.c
index
6e26342
..
e84c480
100644
(file)
--- 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)) {
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];
+ c
onst c
har *row = screen->characters[i];
+ c
onst c
har *font = screen->fonts[i];
int j = 0;
/* skip leading space */
int j = 0;
/* skip leading space */