summaryrefslogtreecommitdiff
path: root/libavformat/matroskadec.c
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2008-09-28 23:01:07 +0000
committerAurelien Jacobs <aurel@gnuage.org>2008-09-28 23:01:07 +0000
commit3df2be9fa7365646f22a93cfde1e4097467f498e (patch)
tree87da30808e680070476044fecaec9db49f947635 /libavformat/matroskadec.c
parent1bb4a1a1c41aca40055f3c6ae21aea5edc83b44f (diff)
matroskadec: ass events lines must end with a DOS style EOL
Originally committed as revision 15454 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/matroskadec.c')
-rw-r--r--libavformat/matroskadec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c
index 56e3c9bf9b..42f570c6f7 100644
--- a/libavformat/matroskadec.c
+++ b/libavformat/matroskadec.c
@@ -956,7 +956,7 @@ static void matroska_fix_ass_packet(MatroskaDemuxContext *matroska,
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;