lavc/ccaption_dec: fix mixed declarations and code warning

This commit is contained in:
Clément Bœsch 2016-01-09 12:37:30 +01:00
parent 5ae07914d0
commit d587fbb676

View File

@ -300,10 +300,11 @@ static int capture_screen(CCaptionSubContext *ctx)
j++;
for (; j < SCREEN_COLUMNS; j++) {
const char *e_tag = "", *s_tag = "";
if (row[j] == 0)
break;
const char *e_tag = "", *s_tag = "";
if (prev_font != font[j]) {
switch (prev_font) {
case CCFONT_ITALICS: