1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Fixed a case where the resultBuffer in cRemux ran full before getting a sync

This commit is contained in:
Klaus Schmidinger 2004-10-23 12:06:13 +02:00
parent 8ed9becabc
commit 5b2784cc4f
2 changed files with 3 additions and 2 deletions

View File

@ -3048,3 +3048,4 @@ Video Disk Recorder Revision History
(thanks to Oliver Endriss).
- Fixed attaching a cPlayer to a cDevice, so that 'Operation not permited'
errors don't occur any more (thanks to Marco Schlüßler).
- Fixed a case where the resultBuffer in cRemux ran full before getting a sync.

View File

@ -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
}