summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb
diff options
context:
space:
mode:
authorHolger Waechtler <devnull@localhost>2002-11-18 13:03:35 +0000
committerHolger Waechtler <devnull@localhost>2002-11-18 13:03:35 +0000
commit5e15253f91666b7384120c01625e41c24a35b7c3 (patch)
tree76661f19bd7b81ef72ed51371935e2d2f7fd0944 /linux/drivers/media/dvb
parent440b0039f1841a8124547df5a003dc60fc7d9f2e (diff)
downloadmediapointer-dvb-s2-5e15253f91666b7384120c01625e41c24a35b7c3.tar.gz
mediapointer-dvb-s2-5e15253f91666b7384120c01625e41c24a35b7c3.tar.bz2
pes_type leak patch by Florian Schirmer
Diffstat (limited to 'linux/drivers/media/dvb')
-rw-r--r--linux/drivers/media/dvb/dvb-core/dvb_demux.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/dvb-core/dvb_demux.c b/linux/drivers/media/dvb/dvb-core/dvb_demux.c
index d564c99b2..fb4865936 100644
--- a/linux/drivers/media/dvb/dvb-core/dvb_demux.c
+++ b/linux/drivers/media/dvb/dvb-core/dvb_demux.c
@@ -704,6 +704,9 @@ static int dvbdmx_release_ts_feed(dmx_demux_t *demux, dmx_ts_feed_t *feed)
dvbdmxfeed->demux->pid2feed[dvbdmxfeed->pid]=0;
dvbdmxfeed->pid=0xffff;
}
+
+ if (dvbdmxfeed->ts_type & TS_DECODER)
+ dvbdmx->pesfilter[dvbdmxfeed->pes_type] = NULL;
up(&dvbdmx->mutex);
return 0;