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

Johannes Stezenbach
2005-09-04T23:44:48Z

[-- Attachment #1: dvb-core-demux-sw-sectionfilter-fix.patch --]
[-- Type: text/plain, Size: 769 bytes --]

From: Andreas Oberritter <obi@linuxtv.org>

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>

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) {

--