summaryrefslogtreecommitdiff
path: root/linux/drivers/media
diff options
context:
space:
mode:
authorOliver Endriss <devnull@localhost>2003-02-24 22:45:05 +0000
committerOliver Endriss <devnull@localhost>2003-02-24 22:45:05 +0000
commit9633ce872e3f5c2644ae6e3cb2ebcb3e4af195b1 (patch)
tree47c30bd0f1913d0301c06e93818e3c217d0ad3ab /linux/drivers/media
parent545c4f5b09578f009279cf95ab40a2f0a52638a7 (diff)
downloadmediapointer-dvb-s2-9633ce872e3f5c2644ae6e3cb2ebcb3e4af195b1.tar.gz
mediapointer-dvb-s2-9633ce872e3f5c2644ae6e3cb2ebcb3e4af195b1.tar.bz2
pes_play(): apply fix provided by Regis Bossut <rbossut(at)auchan(dot)com>:
do not sync on (invalid) stream ids 0xf0..0xff
Diffstat (limited to 'linux/drivers/media')
-rw-r--r--linux/drivers/media/dvb/ttpci/av7110.c2
1 files changed, 1 insertions, 1 deletions
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;