From f944c93faa473cea3eca8a8b55bcbfa2dda7b251 Mon Sep 17 00:00:00 2001 From: Diptanshu8 Date: Wed, 15 Mar 2017 00:28:40 +0530 Subject: [PATCH] yet to cover ass/ssa subtitiles' newline --- src/lib_ccx/matroska.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/lib_ccx/matroska.c b/src/lib_ccx/matroska.c index dd743369..beaccad0 100644 --- a/src/lib_ccx/matroska.c +++ b/src/lib_ccx/matroska.c @@ -823,10 +823,6 @@ void save_sub_track(struct matroska_ctx* mkv_ctx, struct matroska_sub_track* tra write(desc, timestamp_end, strlen(timestamp_start)); write(desc, ",", 1); char* text = ass_ssa_sentence_erase_read_order(sentence->text); - - while (sentence->text[0] == '\n' | sentence->text[0] == '\N'){ - sentence->text++; - } write(desc, text, strlen(text)); write(desc, "\n", 1);