[XviD-devel] [cvs-commit] better MV cllipping

Radek Czyz syskin at ihug.com.au
Sun Apr 11 10:17:42 CEST 2004


Hey,

Anyone remembers that invalid motion vectors could have made xvid crash? 
  And that I wrote a fix for that, which clips MVs to valid range?

Well, it appears that DX50 streams do have motion out of range 
sometimes. The clipping b0rked them, because when the vector was 
clipped, this affected other vector's predictors.

Spotted by HeadlessCow here: 
http://forum.doom9.org/showthread.php?s=&threadid=73882&perpage=20&pagenumber=4

I just changed the clipping code - it works just like before, but 
doesn't really change the vector, just a local copy of it.

:)
Radek


More information about the XviD-devel mailing list