Fixed the size of cChannel::dtypes[]

This commit is contained in:
Klaus Schmidinger 2020-06-10 14:00:36 +02:00
parent 576e21f2fd
commit 709055980e
4 changed files with 12 additions and 8 deletions

View File

@ -2753,6 +2753,7 @@ Winfried K
for reporting a necessary fix in the description of cReceiver in PLUGINS.html, for reporting a necessary fix in the description of cReceiver in PLUGINS.html,
regarding detaching a receiver from its device before deleting it regarding detaching a receiver from its device before deleting it
for fixing some copy&paste errors in PLUGINS.html for fixing some copy&paste errors in PLUGINS.html
for fixing the size of cChannel::dtypes[]
Hans-Werner Hilse <hilse@web.de> Hans-Werner Hilse <hilse@web.de>
for adding the command line option --userdump to enable core dumps in case VDR for adding the command line option --userdump to enable core dumps in case VDR

View File

@ -9453,7 +9453,10 @@ Video Disk Recorder Revision History
The version numbers (both VDRVERSNUM and APIVERSNUM) have been bumped to 2.4.2, so The version numbers (both VDRVERSNUM and APIVERSNUM) have been bumped to 2.4.2, so
that plugins can detect the presence of the new cControl::Control(). that plugins can detect the presence of the new cControl::Control().
2020-06-03: 2020-06-03: Version 2.4.3
- Added a missing '-D' to the 'plugins' target of the Makefile (thanks to Johann - Added a missing '-D' to the 'plugins' target of the Makefile (thanks to Johann
Friedrichs). Friedrichs).
- Fixed the size of cChannel::dtypes[] (thanks to Winfried Köhler).
The version numbers (both VDRVERSNUM and APIVERSNUM) have been bumped to 2.4.3 to
indicate this change.

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: channels.h 4.4 2020/04/11 09:22:05 kls Exp $ * $Id: channels.h 4.5 2020/06/10 14:00:36 kls Exp $
*/ */
#ifndef __CHANNELS_H #ifndef __CHANNELS_H
@ -105,7 +105,7 @@ private:
int atypes[MAXAPIDS + 1]; // list is zero-terminated int atypes[MAXAPIDS + 1]; // list is zero-terminated
char alangs[MAXAPIDS][MAXLANGCODE2]; char alangs[MAXAPIDS][MAXLANGCODE2];
int dpids[MAXDPIDS + 1]; // list is zero-terminated int dpids[MAXDPIDS + 1]; // list is zero-terminated
int dtypes[MAXAPIDS + 1]; // list is zero-terminated int dtypes[MAXDPIDS + 1]; // list is zero-terminated
char dlangs[MAXDPIDS][MAXLANGCODE2]; char dlangs[MAXDPIDS][MAXLANGCODE2];
int spids[MAXSPIDS + 1]; // list is zero-terminated int spids[MAXSPIDS + 1]; // list is zero-terminated
char slangs[MAXSPIDS][MAXLANGCODE2]; char slangs[MAXSPIDS][MAXLANGCODE2];

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: config.h 4.17 2020/05/18 16:47:29 kls Exp $ * $Id: config.h 4.18 2020/06/10 14:00:36 kls Exp $
*/ */
#ifndef __CONFIG_H #ifndef __CONFIG_H
@ -22,13 +22,13 @@
// VDR's own version number: // VDR's own version number:
#define VDRVERSION "2.4.2" #define VDRVERSION "2.4.3"
#define VDRVERSNUM 20402 // Version * 10000 + Major * 100 + Minor #define VDRVERSNUM 20403 // Version * 10000 + Major * 100 + Minor
// The plugin API's version number: // The plugin API's version number:
#define APIVERSION "2.4.2" #define APIVERSION "2.4.3"
#define APIVERSNUM 20402 // Version * 10000 + Major * 100 + Minor #define APIVERSNUM 20403 // Version * 10000 + Major * 100 + Minor
// When loading plugins, VDR searches them by their APIVERSION, which // When loading plugins, VDR searches them by their APIVERSION, which
// may be smaller than VDRVERSION in case there have been no changes to // may be smaller than VDRVERSION in case there have been no changes to