[DVB patch 05/54] core: dvb_demux: fix continuity counter error handling

From: Johannes Stezenbach
Date: Sun Sep 04 2005 - 18:45:34 EST


From: Andreas Oberritter <obi@xxxxxxxxxxx>

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@xxxxxxxxxxx>
Signed-off-by: Johannes Stezenbach <js@xxxxxxxxxxx>

drivers/media/dvb/dvb-core/dvb_demux.c | 1 -
1 file changed, 1 deletion(-)

--- linux-2.6.13-git4.orig/drivers/media/dvb/dvb-core/dvb_demux.c 2005-09-04 22:24:24.000000000 +0200
+++ linux-2.6.13-git4/drivers/media/dvb/dvb-core/dvb_demux.c 2005-09-04 22:27:54.000000000 +0200
@@ -336,7 +336,6 @@ static int dvb_dmx_swfilter_section_pack
*/
feed->pusi_seen = 0;
dvb_dmx_swfilter_section_new(feed);
- return 0;
}

if (buf[1] & 0x40) {

--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/