mirror of https://git.ffmpeg.org/ffmpeg.git
lavc/ccaption_dec: fix mixed declarations and code warning
This commit is contained in:
parent
5ae07914d0
commit
d587fbb676
|
@ -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…
Reference in New Issue