[FFmpeg-cvslog] lavf/srtdec: remove line break hack.

Clément Bœsch git at videolan.org
Sun Dec 30 21:40:19 CET 2012


ffmpeg | branch: master | Clément Bœsch <ubitux at gmail.com> | Sat Dec 29 23:50:56 2012 +0100| [3af3a3006f39ffe43a954ecb3811ac2c1d9c2d0f] | committer: Clément Bœsch

lavf/srtdec: remove line break hack.

This is not necessary anymore since the last commit.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3af3a3006f39ffe43a954ecb3811ac2c1d9c2d0f
---

 libavformat/srtdec.c |    6 ------
 1 file changed, 6 deletions(-)

diff --git a/libavformat/srtdec.c b/libavformat/srtdec.c
index cabbb62..1cc8b15 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)



More information about the ffmpeg-cvslog mailing list