From 83de61beb75c5554ec5773f63840990584d5da57 Mon Sep 17 00:00:00 2001 From: Jochen Dolze Date: Mon, 22 Nov 2010 22:08:27 +0100 Subject: Added SeekPATPMT when there is no PAT/PMT on start of the TS-recording Added info about nalu filler Made demuxer more fault tolerant --- command/demux.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'command/demux.cpp') diff --git a/command/demux.cpp b/command/demux.cpp index c3580c5..752b300 100644 --- a/command/demux.cpp +++ b/command/demux.cpp @@ -207,7 +207,7 @@ int cMarkAdDemux::GetMinNeeded(MarkAdPid Pid, uchar *Data, int Count, bool *Offc } else { - return 0; + return -1; // skip one byte (maybe we get another header!) } } -- cgit v1.2.3