[XviD-devel] Minor patch for mbcoding.c

sigdrak sigdrak at free.fr
Thu May 19 22:29:08 CEST 2005


There are 2 problems with the current code:
- the sprite trajectory VLC table has 15 elements; only 12 are checked
   I imagine it's a typo
- the run decoding isn't robust enough; indices of over 63 could be 
generated (and are when you mess up other parts :), resulting in an 
access violation
   Therefore I check the run value against 63 and possibly truncate it


More information about the XviD-devel mailing list