summaryrefslogtreecommitdiff
path: root/linux/drivers
diff options
context:
space:
mode:
authorJohannes Stezenbach <devnull@localhost>2004-03-01 23:40:48 +0000
committerJohannes Stezenbach <devnull@localhost>2004-03-01 23:40:48 +0000
commitd093d4d92567c7c4319b160f8f5af5460ec00a85 (patch)
tree7144af3e05120f7c754edd7d0db7c1ab82fcc96c /linux/drivers
parent3d25943320edc0b23940d958be039b1ae27076fa (diff)
downloadmediapointer-dvb-s2-d093d4d92567c7c4319b160f8f5af5460ec00a85.tar.gz
mediapointer-dvb-s2-d093d4d92567c7c4319b160f8f5af5460ec00a85.tar.bz2
remove superflous memset() which caused section data to be overwritten
when a) there are two sections in one TS packet, and b) the first section was smaller than 18 bytes; thanks to Jean-Claude Repetto for tracking this down
Diffstat (limited to 'linux/drivers')
-rw-r--r--linux/drivers/media/dvb/dvb-core/dvb_demux.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/dvb-core/dvb_demux.c b/linux/drivers/media/dvb/dvb-core/dvb_demux.c
index bbd18db2c..e48fce7cd 100644
--- a/linux/drivers/media/dvb/dvb-core/dvb_demux.c
+++ b/linux/drivers/media/dvb/dvb-core/dvb_demux.c
@@ -217,8 +217,6 @@ static inline int dvb_dmx_swfilter_section_feed (struct dvb_demux_feed *feed)
sec->seclen = 0;
- memset(buf, 0, DVB_DEMUX_MASK_MAX);
-
return 0;
}