[XviD-devel] stream position after reading the user data

Martin Kuball MartinKuball at web.de
Sun Jan 16 15:39:28 CET 2005


Hi!

I'm currently trying to understand how to read a mp4 as profile. And 
my reference is the xvid implementation. While reading the code I 
noticed that the after reading the user data string the bitstream is 
positioned at the last character (not the terminating 0). Why is this 
so? The character is skipt when reading the next startcode. I can't 
see situation where it is part of the next startcode. All the more 
the code for reading the user data looks overly complicated just to 
achieve this effect.

Martin


More information about the XviD-devel mailing list