From 5b2784cc4f066edb5a6db3c5d88222f5959bd7ed Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 23 Oct 2004 12:06:13 +0200 Subject: Fixed a case where the resultBuffer in cRemux ran full before getting a sync --- remux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'remux.c') diff --git a/remux.c b/remux.c index 9b3b2864..2c1c9f2e 100644 --- a/remux.c +++ b/remux.c @@ -8,7 +8,7 @@ * the Linux DVB driver's 'tuxplayer' example and were rewritten to suit * VDR's needs. * - * $Id: remux.c 1.19 2004/10/16 09:11:52 kls Exp $ + * $Id: remux.c 1.20 2004/10/23 12:06:13 kls Exp $ */ #include "remux.h" @@ -597,7 +597,7 @@ uchar *cRemux::Get(int &Count, uchar *PictureType) Count += l; } else - resultSkipped = i; + resultSkipped = i + l; if (l > 0) i += l - 1; // the loop increments, too } -- cgit v1.2.3