diff options
Diffstat (limited to 'command/demux.cpp')
-rw-r--r-- | command/demux.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/command/demux.cpp b/command/demux.cpp index 91a5a54..20922cd 100644 --- a/command/demux.cpp +++ b/command/demux.cpp @@ -209,7 +209,9 @@ int cMarkAdDemux::Process(MarkAdPid Pid, uchar *Data, int Count, MarkAdPacket *P if (!pause) { - memset(Pkt,0,sizeof(MarkAdPacket)); + Pkt->Data=NULL; + Pkt->Length=0; + Pkt->Offcnt=false; if (!min_needed) { |