[FFmpeg-cvslog] r15454 - trunk/libavformat/matroskadec.c
aurel
subversion
Mon Sep 29 01:01:08 CEST 2008
Author: aurel
Date: Mon Sep 29 01:01:07 2008
New Revision: 15454
Log:
matroskadec: ass events lines must end with a DOS style EOL
Modified:
trunk/libavformat/matroskadec.c
Modified: trunk/libavformat/matroskadec.c
==============================================================================
--- trunk/libavformat/matroskadec.c (original)
+++ trunk/libavformat/matroskadec.c Mon Sep 29 01:01:07 2008
@@ -956,7 +956,7 @@ static void matroska_fix_ass_packet(Matr
len = 50 + end-ptr + FF_INPUT_BUFFER_PADDING_SIZE;
if (!(line = av_malloc(len)))
return;
- snprintf(line,len,"Dialogue: %s,%d:%02d:%02d.%02d,%d:%02d:%02d.%02d,%s",
+ snprintf(line,len,"Dialogue: %s,%d:%02d:%02d.%02d,%d:%02d:%02d.%02d,%s\r\n",
layer, sh, sm, ss, sc, eh, em, es, ec, ptr);
av_free(pkt->data);
pkt->data = line;
More information about the ffmpeg-cvslog
mailing list