[XviD-devel] Bitstream bug

Alex Volkov avcp-xvidmail at usa.net
Thu Apr 13 21:14:01 CEST 2006


Liang,

I've posted on this list about this bug twice in the past year only to find
exactly zero interest or response. I am glad I am not the only one who
thinks it *is* a bug.
Also, your attachments did not make it through. I am curious to see what
needs to be patched in /src/global.h.

-Alex.

-----Original Message-----
From: xvid-devel-bounces at xvid.org [mailto:xvid-devel-bounces at xvid.org] On
Behalf Of liang jian
Sent: Tuesday, April 11, 2006 10:09 AM
To: xvid-devel at xvid.org
Subject: [XviD-devel] Bitstream bug

It seems that there is a bug in Bitstream code: when BitstreamInit() is
called for the first time and the void *const bitstream parameter is not
aligned to sizeof(uint32_t), the bytes from (bitstream & (sizeof(uint32_t) -
1)) to bitstream of the original buffer will be cleared to zero.I have a
patch for this problem, two file should be patched, they are
/src/bitstream/bitstream.h and /src/global.h please review the patch. they
are attached to this mail.




More information about the XviD-devel mailing list