[XviD-devel] 0x7f breaks decoding

Michael Militzer xvid-devel@xvid.org
Mon, 14 Oct 2002 01:41:42 +0200


Hi,

> michael, the 0x7f check in decoder.c breaks encoding
> with max_b==-1

breaks _encoding_? why encoding?

> And of course it's not MPEG-4 to use it.

sure

> This _must_ be handled differently!

yes. The whole 0x7f stuff could be done within vfw (this means writing to
the bitstream for encoding and checking for it while decoding). avi
dependant code should be outside core.

btw: why does b-frame decoding work for you linux guys? Since xvidcore
alsways writes out the 0x7f, it will be present in linux created avi's, too.
How do you handle this?

bye,
Michael