From 440b0039f1841a8124547df5a003dc60fc7d9f2e Mon Sep 17 00:00:00 2001 From: Holger Waechtler Date: Mon, 18 Nov 2002 12:54:00 +0000 Subject: pcr pid patch by Florian Schirmer --- linux/drivers/media/dvb/dvb-core/dvb_demux.c | 7 ++++--- 1 file changed, 4 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 eeaf2b20a..d564c99b2 100644 --- a/linux/drivers/media/dvb/dvb-core/dvb_demux.c +++ b/linux/drivers/media/dvb/dvb-core/dvb_demux.c @@ -536,9 +536,10 @@ dmx_ts_feed_set(struct dmx_ts_feed_s* feed, if ((ret=dmx_pid_set(pid, dvbdmxfeed))<0) { up(&dvbdmx->mutex); return ret; - } else - dvbdmxfeed->pid=pid; - } + } + } else + dvbdmxfeed->pid=pid; + dvbdmx->pesfilter[pes_type]=dvbdmxfeed; dvbdmx->pids[pes_type]=dvbdmxfeed->pid; } else -- cgit v1.2.3