[XviD-devel] Bitstream bug

liang jian jianliang79 at gmail.com
Tue Apr 11 16:09:26 CEST 2006


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