Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-10-17 20:39:21 +0300
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-10-19 06:15:00 +0300
commit9018257751e7db19c26bbf0a7a8ec707691aab98 (patch)
tree3db4a6461ca59678f1f81fb27d53ea11264a7b61 /libavcodec/movtextdec.c
parent71981d7d4d19cc0e812b55c698e15f1654106c32 (diff)
avcodec/movtextdec: Reindentation
Reviewed-by: Philip Langdale <philipl@overt.org> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/movtextdec.c')
-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++;
}