diff options
-rw-r--r-- | linux/drivers/media/dvb/dvb-core/dvb_demux.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/linux/drivers/media/dvb/dvb-core/dvb_demux.c b/linux/drivers/media/dvb/dvb-core/dvb_demux.c index 93129df3e..8b79bee75 100644 --- a/linux/drivers/media/dvb/dvb-core/dvb_demux.c +++ b/linux/drivers/media/dvb/dvb-core/dvb_demux.c @@ -342,8 +342,7 @@ static int dvb_dmx_swfilter_section_packet(struct dvb_demux_feed *feed, const u8 const u8 *after = before+before_len; u8 after_len = count-1-before_len; - if(feed->feed.sec.tsfeedp > 0) - dvb_dmx_swfilter_section_copy_dump(feed, before, before_len); + dvb_dmx_swfilter_section_copy_dump(feed, before, before_len); dvb_dmx_swfilter_section_new(feed); dvb_dmx_swfilter_section_copy_dump(feed, after, after_len); } @@ -353,7 +352,7 @@ static int dvb_dmx_swfilter_section_packet(struct dvb_demux_feed *feed, const u8 printk("dvb_demux.c PUSI=1 but %d bytes lost\n", count); #endif } - else if(feed->feed.sec.tsfeedp > 0) + else { // PUSI=0 (is not set), no section boundary const u8 *entire = buf+p; |