Mercurial > libavformat.hg
changeset 611:8fcecf36e64c libavformat
rm encoding fix
author | michael |
---|---|
date | Mon, 06 Dec 2004 21:38:05 +0000 |
parents | 1ab7b989f475 |
children | fc167cb3b54c |
files | rm.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/rm.c Mon Dec 06 20:03:42 2004 +0000 +++ b/rm.c Mon Dec 06 21:38:05 2004 +0000 @@ -373,13 +373,13 @@ } else { put_byte(pb, 0x01); } - put_be16(pb, 0x4000 | (size)); /* total frame size */ - put_be16(pb, 0x4000 | (size)); /* offset from the start or the end */ + put_be16(pb, 0x4000 + (size)); /* total frame size */ + put_be16(pb, 0x4000 + (size)); /* offset from the start or the end */ #else /* full frame */ write_packet_header(s, size + 6); put_byte(pb, 0xc0); - put_be16(pb, 0x4000 | size); /* total frame size */ + put_be16(pb, 0x4000 + size); /* total frame size */ put_be16(pb, 0x4000 + packet_number * 126); /* position in stream */ #endif put_byte(pb, stream->nb_frames & 0xff);