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

Fixed incrementing the continuity counter in cPatPmtGenerator::GetPmt()

This commit is contained in:
Klaus Schmidinger 2009-01-16 15:28:18 +01:00
parent d500f17d50
commit 036c292460
3 changed files with 7 additions and 2 deletions

View File

@ -2398,3 +2398,6 @@ Niels Wagenaar <n.wagenaar@xs4all.nl>
Edgar Hucek <gimli@dark-green.com> Edgar Hucek <gimli@dark-green.com>
for a patch that was used to convert VDR to the S2API driver API for a patch that was used to convert VDR to the S2API driver API
Johann Friedrichs <johann.friedrichs@web.de>
for fixing incrementing the continuity counter in cPatPmtGenerator::GetPmt()

View File

@ -5929,3 +5929,5 @@ Video Disk Recorder Revision History
Nissl). Nissl).
- Added a missing Detach() in cTransfer::Activate() (thanks to Marco Schlüßler). - Added a missing Detach() in cTransfer::Activate() (thanks to Marco Schlüßler).
- Added clearing the TS buffers in cDevice::Detach() (thanks to Marco Schlüßler). - Added clearing the TS buffers in cDevice::Detach() (thanks to Marco Schlüßler).
- Fixed incrementing the continuity counter in cPatPmtGenerator::GetPmt() (thanks
to Johann Friedrichs).

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * how to reach the author.
* *
* $Id: remux.c 2.6 2009/01/16 14:43:15 kls Exp $ * $Id: remux.c 2.7 2009/01/16 15:25:42 kls Exp $
*/ */
#include "remux.h" #include "remux.h"
@ -320,7 +320,7 @@ uchar *cPatPmtGenerator::GetPat(void)
uchar *cPatPmtGenerator::GetPmt(int &Index) uchar *cPatPmtGenerator::GetPmt(int &Index)
{ {
if (Index < numPmtPackets) { if (Index < numPmtPackets) {
IncCounter(patCounter, pmt[Index]); IncCounter(pmtCounter, pmt[Index]);
return pmt[Index++]; return pmt[Index++];
} }
return NULL; return NULL;