mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-08 13:22:53 +02:00
lavc/ccaption_dec: mark row and font as const in capture_screen()
This commit is contained in:
parent
d587fbb676
commit
31bff21d2c
@ -291,8 +291,8 @@ static int capture_screen(CCaptionSubContext *ctx)
|
|||||||
for (i = 0; screen->row_used && i < SCREEN_ROWS; i++)
|
for (i = 0; screen->row_used && i < SCREEN_ROWS; i++)
|
||||||
{
|
{
|
||||||
if (CHECK_FLAG(screen->row_used, i)) {
|
if (CHECK_FLAG(screen->row_used, i)) {
|
||||||
char *row = screen->characters[i];
|
const char *row = screen->characters[i];
|
||||||
char *font = screen->fonts[i];
|
const char *font = screen->fonts[i];
|
||||||
int j = 0;
|
int j = 0;
|
||||||
|
|
||||||
/* skip leading space */
|
/* skip leading space */
|
||||||
|
Loading…
Reference in New Issue
Block a user