mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-23 19:49:56 +00:00
avcodec/movtextdec: Reindentation
Reviewed-by: Philip Langdale <philipl@overt.org> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
This commit is contained in:
parent
71981d7d4d
commit
9018257751
@ -412,16 +412,16 @@ static int text_to_ass(AVBPrint *buf, const char *text, const char *text_end,
|
||||
av_log(avctx, AV_LOG_ERROR, "invalid UTF-8 byte in subtitle\n");
|
||||
len = 1;
|
||||
}
|
||||
switch (*text) {
|
||||
case '\r':
|
||||
break;
|
||||
case '\n':
|
||||
av_bprintf(buf, "\\N");
|
||||
break;
|
||||
default:
|
||||
av_bprint_append_data(buf, text, len);
|
||||
break;
|
||||
}
|
||||
switch (*text) {
|
||||
case '\r':
|
||||
break;
|
||||
case '\n':
|
||||
av_bprintf(buf, "\\N");
|
||||
break;
|
||||
default:
|
||||
av_bprint_append_data(buf, text, len);
|
||||
break;
|
||||
}
|
||||
text += len;
|
||||
text_pos++;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user