Mercurial > libavformat.hg
changeset 2436:fab3556370d0 libavformat
Fix writing Xiph header sizes
author | conrad |
---|---|
date | Wed, 05 Sep 2007 00:22:58 +0000 |
parents | 4dde24899d01 |
children | 36350b4c94fa |
files | matroskaenc.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/matroskaenc.c Wed Sep 05 00:22:56 2007 +0000 +++ b/matroskaenc.c Wed Sep 05 00:22:58 2007 +0000 @@ -191,7 +191,7 @@ 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]);