[FFmpeg-soc] [soc]: r268 - matroska/matroskaenc.c
conrad
subversion at mplayerhq.hu
Mon Jun 25 02:12:41 CEST 2007
Author: conrad
Date: Mon Jun 25 02:12:41 2007
New Revision: 268
Log:
Fix writing Xiph header sizes
Modified:
matroska/matroskaenc.c
Modified: matroska/matroskaenc.c
==============================================================================
--- matroska/matroskaenc.c (original)
+++ matroska/matroskaenc.c Mon Jun 25 02:12:41 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-soc
mailing list