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++; j++;


for (; j < SCREEN_COLUMNS; j++) { for (; j < SCREEN_COLUMNS; j++) {
const char *e_tag = "", *s_tag = "";

if (row[j] == 0) if (row[j] == 0)
break; break;


const char *e_tag = "", *s_tag = "";
if (prev_font != font[j]) { if (prev_font != font[j]) {
switch (prev_font) { switch (prev_font) {
case CCFONT_ITALICS: case CCFONT_ITALICS:


Loading…
Cancel
Save