summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2009-01-16 15:28:18 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2009-01-16 15:28:18 +0100
commit036c29246073c5384f4fa4457da3cb5ea326b25e (patch)
treee0c9d9c5a06700b4862d8b4cabda4ef845d5afe0
parentd500f17d50cd237b5d4e2e871d69a4c700273279 (diff)
downloadvdr-036c29246073c5384f4fa4457da3cb5ea326b25e.tar.gz
vdr-036c29246073c5384f4fa4457da3cb5ea326b25e.tar.bz2
Fixed incrementing the continuity counter in cPatPmtGenerator::GetPmt()
-rw-r--r--CONTRIBUTORS3
-rw-r--r--HISTORY2
-rw-r--r--remux.c4
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 <n.wagenaar@xs4all.nl>
Edgar Hucek <gimli@dark-green.com>
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()
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;