Browse Source

lavc/ccaption_dec: fix mixed declarations and code warning

tags/n3.0
Clément Bœsch 9 years ago
parent
commit
d587fbb676
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      libavcodec/ccaption_dec.c

+ 2
- 1
libavcodec/ccaption_dec.c 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:


Loading…
Cancel
Save