[FFmpeg-cvslog] r10305 - trunk/libavformat/matroskaenc.c

conrad subversion
Wed Sep 5 02:22:58 CEST 2007


Author: conrad
Date: Wed Sep  5 02:22:58 2007
New Revision: 10305

Log:
Fix writing Xiph header sizes


Modified:
   trunk/libavformat/matroskaenc.c

Modified: trunk/libavformat/matroskaenc.c
==============================================================================
--- trunk/libavformat/matroskaenc.c	(original)
+++ trunk/libavformat/matroskaenc.c	Wed Sep  5 02:22:58 2007
@@ -191,7 +191,7 @@ static int mkv_write_header(AVFormatCont
                 for (j = 0; j < 2; j++) {
                     for (k = 0; k < header_len[j] / 255; k++)
                         put_byte(pb, 255);
-                    put_byte(pb, header_len[j]);
+                    put_byte(pb, header_len[j] % 255);
                 }
                 for (j = 0; j < 3; j++)
                     put_buffer(pb, header_start[j], header_len[j]);




More information about the ffmpeg-cvslog mailing list