1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

lavf/srtdec: remove line break hack.

This is not necessary anymore since the last commit.
This commit is contained in:
Clément Bœsch 2012-12-29 23:50:56 +01:00
parent d927d8395d
commit 3af3a3006f

View File

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