diff options
author | Clément Bœsch <ubitux@gmail.com> | 2012-12-29 23:50:56 +0100 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2012-12-30 21:39:35 +0100 |
commit | 3af3a3006f39ffe43a954ecb3811ac2c1d9c2d0f (patch) | |
tree | 3f323aa98d1786773b9d0d4f376d2a51a38a206e /libavformat/srtdec.c | |
parent | d927d8395d71fde94d21c48ded7122b03c263004 (diff) | |
download | ffmpeg-3af3a3006f39ffe43a954ecb3811ac2c1d9c2d0f.tar.gz |
lavf/srtdec: remove line break hack.
This is not necessary anymore since the last commit.
Diffstat (limited to 'libavformat/srtdec.c')
-rw-r--r-- | libavformat/srtdec.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/libavformat/srtdec.c b/libavformat/srtdec.c index cabbb62076..1cc8b158d1 100644 --- a/libavformat/srtdec.c +++ b/libavformat/srtdec.c @@ -115,12 +115,6 @@ static void read_chunk(AVIOContext *pb, AVBPrint *buf) av_bprint_chars(buf, c, 1); 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) |