Commit 3af3a300 authored by Clément Bœsch's avatar Clément Bœsch

lavf/srtdec: remove line break hack.

This is not necessary anymore since the last commit.
parent d927d839
...@@ -115,12 +115,6 @@ static void read_chunk(AVIOContext *pb, AVBPrint *buf) ...@@ -115,12 +115,6 @@ static void read_chunk(AVIOContext *pb, AVBPrint *buf)
av_bprint_chars(buf, c, 1); av_bprint_chars(buf, c, 1);
n++; n++;
} }
/* FIXME: remove the following when the lavc SubRip decoder is fixed
* (trailing tags are not correctly flushed, see what happens to FATE when
* you disable this code) */
if (buf->len)
av_bprintf(buf, "\n");
} }
static int srt_read_header(AVFormatContext *s) static int srt_read_header(AVFormatContext *s)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment