summaryrefslogtreecommitdiff
path: root/libavformat/srtdec.c
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2012-12-29 23:50:56 +0100
committerClément Bœsch <ubitux@gmail.com>2012-12-30 21:39:35 +0100
commit3af3a3006f39ffe43a954ecb3811ac2c1d9c2d0f (patch)
tree3f323aa98d1786773b9d0d4f376d2a51a38a206e /libavformat/srtdec.c
parentd927d8395d71fde94d21c48ded7122b03c263004 (diff)
downloadffmpeg-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.c6
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)