[XviD-devel] 0x7f breaks decoding
Christoph Lampert
xvid-devel@xvid.org
Mon, 14 Oct 2002 13:38:21 +0200 (CEST)
On Mon, 14 Oct 2002, Michael Militzer wrote:
> Hi,
>
> > michael, the 0x7f check in decoder.c breaks encoding
> > with max_b==-1
>
> breaks _encoding_? why encoding?
_decoding_ of course, sorry... (see subject).
> > 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?
No idea, I simply call the decoder and it works unless max_b==-1.
gruel