You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
matroskadec: ass events lines must end with a DOS style EOL
Originally committed as revision 15454 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -956,7 +956,7 @@ static void matroska_fix_ass_packet(MatroskaDemuxContext *matroska,
|
|||||||
len = 50 + end-ptr + FF_INPUT_BUFFER_PADDING_SIZE;
|
len = 50 + end-ptr + FF_INPUT_BUFFER_PADDING_SIZE;
|
||||||
if (!(line = av_malloc(len)))
|
if (!(line = av_malloc(len)))
|
||||||
return;
|
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);
|
layer, sh, sm, ss, sc, eh, em, es, ec, ptr);
|
||||||
av_free(pkt->data);
|
av_free(pkt->data);
|
||||||
pkt->data = line;
|
pkt->data = line;
|
||||||
|
Reference in New Issue
Block a user