/* section padding is done with 0xff bytes entirely. ** due to speed reasons, we won't check all of them ** but just first and last */ if(sec->secbuf[0] != 0xff || sec->secbuf[n-1] != 0xff) { 
/* * Section padding is done with 0xff bytes entirely. * Due to speed reasons, we won't check all of them * but just first and last. */ if (sec->secbuf[0] != 0xff || sec->secbuf[n - 1] != 0xff) { 
static void dvb_dmx_swfilter_section_new(struct dvb_demux_feed *feed){	struct dmx_section_feed *sec = &feed->feed.sec;#ifdef DVB_DEMUX_SECTION_LOSS_LOG	if(sec->secbufp < sec->tsfeedp)	{		int i, n = sec->tsfeedp - sec->secbufp;		/* section padding is done with 0xff bytes entirely.		** due to speed reasons, we won't check all of them		** but just first and last		*/		if(sec->secbuf[0] != 0xff || sec->secbuf[n-1] != 0xff)		{			printk("dvb_demux.c section ts padding loss: %d/%d\n",			       n, sec->tsfeedp);			printk("dvb_demux.c pad data:");			for(i = 0; i < n; i++)				printk(" %02x", sec->secbuf[i]);			printk("\n");		}	}#endif	sec->tsfeedp = sec->secbufp = sec->seclen = 0;	sec->secbuf = sec->secbuf_base;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/dad4a73071532448f6cee29791476494a8eb3a58/dvb_demux.c/clean/drivers/media/dvb/dvb-core/dvb_demux.c