☆─────────────────────────────────────☆
leizj (lilith) 于 (Fri Sep 9 09:08:34 2005) 提到:
I have seen the following very simple C function
static int FindStartCode (unsigned char *Buf, int zeros_in_startcode)
{
int info;
int i;
info = 1;
for (i = 0; i < zeros_in_startcode; i++)
if(Buf[i] != 0)
info = 0;
if(Buf[i] != 1)
info = 0;
return info;
}
I am interested in this for loop
...........
for (i = 0; i < zeros_in_startcode; i++)