aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-10-17 19:39:21 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-10-19 05:15:00 +0200
commit9018257751e7db19c26bbf0a7a8ec707691aab98 (patch)
tree3db4a6461ca59678f1f81fb27d53ea11264a7b61
parent71981d7d4d19cc0e812b55c698e15f1654106c32 (diff)
downloadffmpeg-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.c20
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++;
}