projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd46d16
)
V4L/DVB (11760): dvb-ttpci: Check transport error indicator flag
author
Oliver Endriss
<o.endriss@gmx.de>
Sun, 19 Apr 2009 17:47:01 +0000
(14:47 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Tue, 16 Jun 2009 21:21:02 +0000
(18:21 -0300)
Discard PES packet if transport error indicator flag is set.
Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/ttpci/av7110_av.c
patch
|
blob
|
history
diff --git
a/drivers/media/dvb/ttpci/av7110_av.c
b/drivers/media/dvb/ttpci/av7110_av.c
index 2fc90e9a8b77abe799a507ff822945bcac744a5b..2adcaeff359c19d8a1419ef9aa0cbcaa4f7c7aeb 100644
(file)
--- a/
drivers/media/dvb/ttpci/av7110_av.c
+++ b/
drivers/media/dvb/ttpci/av7110_av.c
@@
-824,6
+824,11
@@
static int write_ts_to_decoder(struct av7110 *av7110, int type, const u8 *buf, s
{
struct ipack *ipack = &av7110->ipack[type];
+ if (buf[1] & TRANS_ERROR) {
+ av7110_ipack_reset(ipack);
+ return -1;
+ }
+
if (!(buf[3] & PAYLOAD))
return -1;