aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@linuxtv.org>2005-09-09 16:02:22 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-09 16:57:36 -0400
commit1e0ae280e91a4f69b08770c6ab72808711dd4f2b (patch)
tree0589d2c4289d0765494874832c27dfe7977f952b /drivers/media
parentc05100528efe997a27d841230f9f5b2f4adf3d0f (diff)
[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>
Diffstat (limited to 'drivers/media')
-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 ac9889d22288..3d18d3eebcff 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
336 */ 336 */
337 feed->pusi_seen = 0; 337 feed->pusi_seen = 0;
338 dvb_dmx_swfilter_section_new(feed); 338 dvb_dmx_swfilter_section_new(feed);
339 return 0;
340 } 339 }
341 340
342 if (buf[1] & 0x40) { 341 if (buf[1] & 0x40) {