Commit b4cdac0b authored by aurel's avatar aurel

matroskadec: ass events lines must end with a DOS style EOL

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15454 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 7d02606e
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment