From e43a5a081f909b0804646e076106b8e2e4bb7863 Mon Sep 17 00:00:00 2001 From: Jochen Dolze Date: Mon, 20 Sep 2010 00:04:39 +0200 Subject: Fixed timestamp fetching for TS files --- command/demux.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'command/demux.cpp') 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) { -- cgit v1.2.3