[XviD-devel] Decoding stream

Marco Filippini marco.filippini at cisitaly.com
Mon Jun 23 12:51:14 CEST 2008


Hi, 

 

I agree with Stephan, I should have expected an error or an
XVID_TYPE_NOTHING type in the stats, so my code could easily handle the
problem.

Not checking the real length of data passed to the call and use dirty bytes
can lead to unexpected crash.

Hope it will be fixed in the future, in the meantime I will use some
workaround, the hint given by Michael to check for VOP_START_CODE in the
bitstream is a good one.

 

Best regards

 

Marco



More information about the XviD-devel mailing list