diff options
author | Kenneth Aafloy <devnull@localhost> | 2004-08-27 15:58:08 +0000 |
---|---|---|
committer | Kenneth Aafloy <devnull@localhost> | 2004-08-27 15:58:08 +0000 |
commit | 6a51ae8c85791b26ae288939eac5ec4c6b4efc45 (patch) | |
tree | eeda96aeaa629adb2a5f5b67c961a11e4ac8f094 | |
parent | d1c069796ebb6bf3acb0ec3ed39261ac04010042 (diff) | |
download | mediapointer-dvb-s2-6a51ae8c85791b26ae288939eac5ec4c6b4efc45.tar.gz mediapointer-dvb-s2-6a51ae8c85791b26ae288939eac5ec4c6b4efc45.tar.bz2 |
- Revert the last change, untill a method which does not overflow.
-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; |