From: Aman Gupta <a...@tmm1.net> before this change, ffmpeg would sometimes generate invalid ASS events when dealing with mpegts streams that had a large start_time:
Dialogue: 0,20:57:07.37,9:59:59.99,Default,,0,0,0,,(upbeat music playing) --- libavcodec/ass.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/ass.c b/libavcodec/ass.c index 336c308..0484db4 100644 --- a/libavcodec/ass.c +++ b/libavcodec/ass.c @@ -92,7 +92,7 @@ int ff_ass_subtitle_header_default(AVCodecContext *avctx) static void insert_ts(AVBPrint *buf, int ts) { if (ts == -1) { - av_bprintf(buf, "9:59:59.99,"); + av_bprintf(buf, "999:59:59.99,"); } else { int h, m, s; -- 2.5.3 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel