From 3af3a3006f39ffe43a954ecb3811ac2c1d9c2d0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20B=C5=93sch?= Date: Sat, 29 Dec 2012 23:50:56 +0100 Subject: [PATCH] lavf/srtdec: remove line break hack. This is not necessary anymore since the last commit. --- libavformat/srtdec.c | 6 ------ 1 file changed, 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)