summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@linuxtv.org>2005-09-09 20:02:22 (GMT)
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-09 20:57:36 (GMT)
commit1e0ae280e91a4f69b08770c6ab72808711dd4f2b (patch)
tree0589d2c4289d0765494874832c27dfe7977f952b
parentc05100528efe997a27d841230f9f5b2f4adf3d0f (diff)
downloadlinux-1e0ae280e91a4f69b08770c6ab72808711dd4f2b.tar.xz
[PATCH] dvb: core: dvb_demux: fix continuity counter error handling
Don't return immediately from dvb_dmx_swfilter_section_packet() if CC is not ok. Otherwise a new feed drops all packets until the first packet with CC=0 arrives. Signed-off-by: Andreas Oberritter <obi@linuxtv.org> Signed-off-by: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--drivers/media/dvb/dvb-core/dvb_demux.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/dvb/dvb-core/dvb_demux.c b/drivers/media/dvb/dvb-core/dvb_demux.c
index ac9889d..3d18d3e 100644
--- a/drivers/media/dvb/dvb-core/dvb_demux.c
+++ b/drivers/media/dvb/dvb-core/dvb_demux.c
@@ -336,7 +336,6 @@ static int dvb_dmx_swfilter_section_packet(struct dvb_demux_feed *feed, const u8
*/
feed->pusi_seen = 0;
dvb_dmx_swfilter_section_new(feed);
- return 0;
}
if (buf[1] & 0x40) {