Commit d587fbb6 authored by Clément Bœsch's avatar Clément Bœsch

lavc/ccaption_dec: fix mixed declarations and code warning

parent 5ae07914
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment