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:
parent
d500f17d50
commit
036c292460
@ -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()
|
||||||
|
2
HISTORY
2
HISTORY
@ -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).
|
||||||
|
4
remux.c
4
remux.c
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user