diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2004-10-23 12:06:13 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2004-10-23 12:06:13 +0200 |
commit | 5b2784cc4f066edb5a6db3c5d88222f5959bd7ed (patch) | |
tree | 7e1c59ab85b91475c051e156b61fe60b9ca7f345 /remux.c | |
parent | 8ed9becabc8bb8d0be5a928ebb88398f6eb8a72f (diff) | |
download | vdr-5b2784cc4f066edb5a6db3c5d88222f5959bd7ed.tar.gz vdr-5b2784cc4f066edb5a6db3c5d88222f5959bd7ed.tar.bz2 |
Fixed a case where the resultBuffer in cRemux ran full before getting a sync
Diffstat (limited to 'remux.c')
-rw-r--r-- | remux.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 } |