if ((buf[p] == 0x47)|(buf[p] == 0xB8)) { if (count-p >= 204) { memcpy(tmppack, buf+p, 188); if (tmppack[0] == 0xB8) tmppack[0] = 0x47; 
if ((buf[p] == 0x47) | (buf[p] == 0xB8)) { if (count - p >= 204) { memcpy(tmppack, &buf[p], 188); if (tmppack[0] == 0xB8) tmppack[0] = 0x47; 
void dvb_dmx_swfilter_204(struct dvb_demux *demux, const u8 *buf, size_t count){	int p = 0,i, j;	u8 tmppack[188];	spin_lock(&demux->lock);	if ((i = demux->tsbufp)) {		if (count < (j=204-i)) {			memcpy(&demux->tsbuf[i], buf, count);			demux->tsbufp += count;			goto bailout;		}		memcpy(&demux->tsbuf[i], buf, j);		if ((demux->tsbuf[0] == 0x47)|(demux->tsbuf[0]==0xB8))  {			memcpy(tmppack, demux->tsbuf, 188);			if (tmppack[0] == 0xB8) tmppack[0] = 0x47;			dvb_dmx_swfilter_packet(demux, tmppack);		}		demux->tsbufp = 0;		p += j;	}	while (p < count) {		if ((buf[p] == 0x47)|(buf[p] == 0xB8)) {			if (count-p >= 204) {				memcpy(tmppack, buf+p, 188);				if (tmppack[0] == 0xB8) tmppack[0] = 0x47;				dvb_dmx_swfilter_packet(demux, tmppack);				p += 204;			} else {				i = count-p;				memcpy(demux->tsbuf, buf+p, i);				demux->tsbufp=i;				goto bailout;			}		} else {			p++;		}	}bailout:	spin_unlock(&demux->lock);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/dad4a73071532448f6cee29791476494a8eb3a58/dvb_demux.c/clean/drivers/media/dvb/dvb-core/dvb_demux.c