changeset 3953:f1a9ff04eb4b libavformat

matroskadec: ass events lines must end with a DOS style EOL
author aurel
date Sun, 28 Sep 2008 23:01:07 +0000
parents 9808dea139a1
children 0ebebd2ba034
files matroskadec.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/matroskadec.c	Sun Sep 28 22:58:53 2008 +0000
+++ b/matroskadec.c	Sun Sep 28 23:01:07 2008 +0000
@@ -956,7 +956,7 @@
         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;