]> err.no Git - linux-2.6/commitdiff
[PATCH] dvb: core: dvb_demux: fix continuity counter error handling
authorAndreas Oberritter <obi@linuxtv.org>
Fri, 9 Sep 2005 20:02:22 +0000 (13:02 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 9 Sep 2005 20:57:36 +0000 (13:57 -0700)
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>
drivers/media/dvb/dvb-core/dvb_demux.c

index ac9889d222882bc6629d5a2c90b7405496d8f740..3d18d3eebcff376c68ed8075b36f8d508baffd41 100644 (file)
@@ -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) {