[FFmpeg-devel] [PATCH 2/2] lavf/srtdec: remove line break hack.

Clément Bœsch ubitux at gmail.com
Sat Dec 29 23:52:10 CET 2012


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



More information about the ffmpeg-devel mailing list