summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHolger Waechtler <devnull@localhost>2002-11-18 12:54:00 +0000
committerHolger Waechtler <devnull@localhost>2002-11-18 12:54:00 +0000
commit440b0039f1841a8124547df5a003dc60fc7d9f2e (patch)
tree5f1904c9984984e8e4cc5c6d722d59d2295bb8f2
parentaaf6c6c75a4c275bde860938ced8e85581c77bd7 (diff)
downloadmediapointer-dvb-s2-440b0039f1841a8124547df5a003dc60fc7d9f2e.tar.gz
mediapointer-dvb-s2-440b0039f1841a8124547df5a003dc60fc7d9f2e.tar.bz2
pcr pid patch by Florian Schirmer
-rw-r--r--linux/drivers/media/dvb/dvb-core/dvb_demux.c7
1 files 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