int
Mpeg2SkipToNextStartCode


Parameters:

BitParser *bp
Dali bit parser structure.

Return value:

Number of bytes parsed.

Description:

Finds next start code and advances parser to that point. Returns -1 if no start code found. This routine differs from Mpeg2FindAnyStartCode because it will skip over the first start code if the bitparser is already situated at one. In other words, this routine will never return 0. Thus calling this routine multiple times will go from start code to start code, where calling Mpeg2FindAnyStartCode multiple times will find the first start code and then stay there, returning 0 for each subsequent call.


Author: Ketan Mayer-Patel Date: 4/18/00