summaryrefslogtreecommitdiff
path: root/demux.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'demux.cpp')
-rw-r--r--demux.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/demux.cpp b/demux.cpp
index 792618b..96748a2 100644
--- a/demux.cpp
+++ b/demux.cpp
@@ -23,10 +23,10 @@ cMarkAdDemux::~cMarkAdDemux()
if (pes2audioes) delete pes2audioes;
}
-int cMarkAdDemux::Process(int Pid, uchar *Data, int Count, uchar **Pkt, int *PktLen)
+int cMarkAdDemux::Process(MarkAdPid Pid, uchar *Data, int Count, uchar **Pkt, int *PktLen)
{
if ((!Data) && (!Count) && (!ts2pes) && (!pes2audioes) ||
- (!Pkt) || (!PktLen) || (!Pid)) return -1;
+ (!Pkt) || (!PktLen) || (!Pid.Num)) return -1;
*Pkt=NULL;
*PktLen=0;