From d093d4d92567c7c4319b160f8f5af5460ec00a85 Mon Sep 17 00:00:00 2001 From: Johannes Stezenbach Date: Mon, 1 Mar 2004 23:40:48 +0000 Subject: 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 --- linux/drivers/media/dvb/dvb-core/dvb_demux.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'linux/drivers/media/dvb/dvb-core') 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; } -- cgit v1.2.3