diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-10-17 19:39:21 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-10-19 05:15:00 +0200 |
commit | 9018257751e7db19c26bbf0a7a8ec707691aab98 (patch) | |
tree | 3db4a6461ca59678f1f81fb27d53ea11264a7b61 | |
parent | 71981d7d4d19cc0e812b55c698e15f1654106c32 (diff) | |
download | ffmpeg-9018257751e7db19c26bbf0a7a8ec707691aab98.tar.gz |
avcodec/movtextdec: Reindentation
Reviewed-by: Philip Langdale <philipl@overt.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
-rw-r--r-- | libavcodec/movtextdec.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/libavcodec/movtextdec.c b/libavcodec/movtextdec.c index 95dfb2a0af..ad790bf44c 100644 --- a/libavcodec/movtextdec.c +++ b/libavcodec/movtextdec.c @@ -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++; } |