summaryrefslogtreecommitdiff
path: root/command/demux.cpp
diff options
context:
space:
mode:
authorJochen Dolze <vdr@dolze.de>2010-09-20 00:04:39 +0200
committerJochen Dolze <vdr@dolze.de>2010-09-20 00:04:39 +0200
commite43a5a081f909b0804646e076106b8e2e4bb7863 (patch)
tree7a91194a482d4d7e09f67a2d5b4d2c0210417058 /command/demux.cpp
parent92f2003259a7c734228b3c8747f5d688af2e9c75 (diff)
downloadvdr-plugin-markad-e43a5a081f909b0804646e076106b8e2e4bb7863.tar.gz
vdr-plugin-markad-e43a5a081f909b0804646e076106b8e2e4bb7863.tar.bz2
Fixed timestamp fetching for TS files
Diffstat (limited to 'command/demux.cpp')
-rw-r--r--command/demux.cpp4
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)
{