--- multiplexer/splicets.c 2003/08/25 21:05:23 1.19 +++ multiplexer/splicets.c 2004/01/16 14:54:12 1.20 @@ -397,7 +397,9 @@ int splice_addstream (prog_descr *p, int pid = 0; warn (LIMP,"Add stream",ETSC,4,force_sid,s->stream_id); if (p->streams < MAX_STRPERPRG) { - if ((pid = findapid (s)) > 0) { +/* YenZi */ + pid = s->sourceid; + if (pid > 0) { if (!force_sid) { s->stream_id = splice_findfreestreamid (p,s->stream_id); }