From 036c29246073c5384f4fa4457da3cb5ea326b25e Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Fri, 16 Jan 2009 15:28:18 +0100 Subject: [PATCH] Fixed incrementing the continuity counter in cPatPmtGenerator::GetPmt() --- CONTRIBUTORS | 3 +++ HISTORY | 2 ++ remux.c | 4 ++-- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 1d0aabcb..a10a9b41 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -2398,3 +2398,6 @@ Niels Wagenaar Edgar Hucek for a patch that was used to convert VDR to the S2API driver API + +Johann Friedrichs + for fixing incrementing the continuity counter in cPatPmtGenerator::GetPmt() diff --git a/HISTORY b/HISTORY index 3c6713e4..5b1b86b4 100644 --- a/HISTORY +++ b/HISTORY @@ -5929,3 +5929,5 @@ Video Disk Recorder Revision History Nissl). - 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). +- Fixed incrementing the continuity counter in cPatPmtGenerator::GetPmt() (thanks + to Johann Friedrichs). diff --git a/remux.c b/remux.c index efce4921..e58c914f 100644 --- a/remux.c +++ b/remux.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * 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" @@ -320,7 +320,7 @@ uchar *cPatPmtGenerator::GetPat(void) uchar *cPatPmtGenerator::GetPmt(int &Index) { if (Index < numPmtPackets) { - IncCounter(patCounter, pmt[Index]); + IncCounter(pmtCounter, pmt[Index]); return pmt[Index++]; } return NULL;