From 9633ce872e3f5c2644ae6e3cb2ebcb3e4af195b1 Mon Sep 17 00:00:00 2001 From: Oliver Endriss Date: Mon, 24 Feb 2003 22:45:05 +0000 Subject: pes_play(): apply fix provided by Regis Bossut : do not sync on (invalid) stream ids 0xf0..0xff --- linux/drivers/media/dvb/ttpci/av7110.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linux/drivers/media') diff --git a/linux/drivers/media/dvb/ttpci/av7110.c b/linux/drivers/media/dvb/ttpci/av7110.c index 7838c9ab4..5839830d3 100644 --- a/linux/drivers/media/dvb/ttpci/av7110.c +++ b/linux/drivers/media/dvb/ttpci/av7110.c @@ -864,7 +864,7 @@ pes_play(void *dest, dvb_ringbuffer_t *buf, int dlen) sync|=DVB_RINGBUFFER_PEEK(buf,2)<<8; sync|=DVB_RINGBUFFER_PEEK(buf,3); - if (((sync&~0x1f)==0x000001e0) || + if (((sync&~0x0f)==0x000001e0) || ((sync&~0x1f)==0x000001c0) || (sync==0x000001bd)) break; -- cgit v1.2.3