yet to cover ass/ssa subtitiles' newline

This commit is contained in:
Diptanshu8 2017-03-15 00:28:40 +05:30
parent 2c7bfef0f0
commit f944c93faa

View File

@ -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);