mirror of https://git.ffmpeg.org/ffmpeg.git
lavc/ccaption_dec: clean up whitespace
This commit is contained in:
parent
fdbe5cd5c5
commit
9027806e3c
|
@ -297,7 +297,6 @@ static void roll_up(CCaptionSubContext *ctx)
|
|||
for (i = 0; i < ctx->cursor_row - keep_lines; i++)
|
||||
UNSET_FLAG(screen->row_used, i);
|
||||
|
||||
|
||||
for (i = 0; i < keep_lines && screen->row_used; i++) {
|
||||
const int i_row = ctx->cursor_row - keep_lines + i + 1;
|
||||
|
||||
|
@ -306,8 +305,8 @@ static void roll_up(CCaptionSubContext *ctx)
|
|||
memcpy(screen->fonts[i_row], screen->fonts[i_row+1], SCREEN_COLUMNS);
|
||||
if (CHECK_FLAG(screen->row_used, i_row + 1))
|
||||
SET_FLAG(screen->row_used, i_row);
|
||||
|
||||
}
|
||||
|
||||
UNSET_FLAG(screen->row_used, ctx->cursor_row);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue