39 for(i=0; i<buf_size; i++){
40 state= (state<<8) | buf[i];
41 if(state>>(32-22) == 0x20){
50 for(; i<buf_size; i++){
51 state= (state<<8) | buf[i];
52 if(state>>(32-22) == 0x20){
67 const uint8_t **poutbuf,
int *poutbuf_size,
86 *poutbuf_size = buf_size;