Decoding stream

"Marco Filippini" <[email protected]>
Newsgroups gmane.comp.video.xvid.devel
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.