lavc/htmlsubtitles: reindent after previous commits
This commit is contained in:
@@ -177,8 +177,6 @@ int ff_htmlmarkup_to_ass(void *log_ctx, AVBPrint *dst, const char *in)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: reindent
|
|
||||||
|
|
||||||
if (!av_strcasecmp(tagname, "font")) {
|
if (!av_strcasecmp(tagname, "font")) {
|
||||||
if (tag_close && sptr > 0) {
|
if (tag_close && sptr > 0) {
|
||||||
struct font_tag *cur_tag = &stack[sptr--];
|
struct font_tag *cur_tag = &stack[sptr--];
|
||||||
@@ -235,9 +233,7 @@ int ff_htmlmarkup_to_ass(void *log_ctx, AVBPrint *dst, const char *in)
|
|||||||
param++;
|
param++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
in += skip;
|
in += skip;
|
||||||
|
|
||||||
} else if (tagname[0] && !tagname[1] && strchr("bisu", av_tolower(tagname[0]))) {
|
} else if (tagname[0] && !tagname[1] && strchr("bisu", av_tolower(tagname[0]))) {
|
||||||
av_bprintf(dst, "{\\%c%d}", (char)av_tolower(tagname[0]), !tag_close);
|
av_bprintf(dst, "{\\%c%d}", (char)av_tolower(tagname[0]), !tag_close);
|
||||||
in += skip;
|
in += skip;
|
||||||
|
Reference in New Issue
Block a user