[XviD-devel] [BUG] Last patch in encoder.c breaks encoder

Edouard Gomez ed.gomez at free.fr
Fri Dec 10 01:05:28 CET 2004


Hey,

seems like the last patch from sysKin breaks the encoder badly.

This patch relies on the fact every block goes through RD optimisation
which is obviously bad idea, so encoder ends up trying to encode inter
block filled with 0, but these function assume there is at least one non
zero value in the 8x8 block and doesn't check for index<64 in order to speed
up things a bit.

This results in nice segfaults whatever sequence you encode w/o vhq enabled.
Meaning all first passes would fail.

-- 
Edouard Gomez


More information about the XviD-devel mailing list