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

Added initialization of cDvbFrontend::frontendInfo

This commit is contained in:
Klaus Schmidinger 2020-12-05 15:48:40 +01:00
parent 375d25627d
commit bacc873896
3 changed files with 6 additions and 2 deletions

View File

@ -2769,6 +2769,7 @@ Winfried K
for reporting a bug in handling newline characters in ci.c's CopyString()
for reporting a bug in checking the return value of the Open() call in
cFileName::SetOffset()
for adding initialization of cDvbFrontend::frontendInfo
Hans-Werner Hilse <hilse@web.de>
for adding the command line option --userdump to enable core dumps in case VDR

View File

@ -9536,7 +9536,7 @@ Video Disk Recorder Revision History
cDvbTuner::GetSignalStats() to avoid problems with drivers that don't do this
(thanks to Helmut Binder).
2020-11-28:
2020-12-05:
- Fixed multiple recording entries in case a recording is started during the initial
reading of the video directory (reported by Claus Muus).
@ -9548,3 +9548,4 @@ Video Disk Recorder Revision History
- Fixed possible compilation errors with libjpeg (thanks to Bernd Kuhls).
- Fixed "read incomplete section" errors (thanks to Helmut Binder).
- Fixed generating the HashId in cEIT::cEIT() (thanks to Helmut Binder).
- Added initialization of cDvbFrontend::frontendInfo (thanks to Winfried Köhler).

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: dvbdevice.c 4.28 2020/11/24 21:19:49 kls Exp $
* $Id: dvbdevice.c 4.29 2020/12/05 15:48:40 kls Exp $
*/
#include "dvbdevice.h"
@ -367,6 +367,8 @@ cDvbFrontend::cDvbFrontend(int Adapter, int Frontend)
frontend = Frontend;
fd_frontend = -1;
subsystemId = cDvbDeviceProbe::GetSubsystemId(adapter, frontend);
memset(&frontendInfo, 0, sizeof(frontendInfo));
strn0cpy(frontendInfo.name, "???", sizeof(frontendInfo.name));
numModulations = 0;
Open();
QueryDeliverySystems();