diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2020-12-05 15:48:40 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2020-12-05 15:48:40 +0100 |
commit | bacc87389621cc4f8c3bcad8f4267c6f4e47574d (patch) | |
tree | c1d271e506daf939bb1a5371a1d39e8b6d686605 /dvbdevice.c | |
parent | 375d25627de34f4a5a1a032f032b8c6a1be2a2c0 (diff) | |
download | vdr-bacc87389621cc4f8c3bcad8f4267c6f4e47574d.tar.gz vdr-bacc87389621cc4f8c3bcad8f4267c6f4e47574d.tar.bz2 |
Added initialization of cDvbFrontend::frontendInfo
Diffstat (limited to 'dvbdevice.c')
-rw-r--r-- | dvbdevice.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/dvbdevice.c b/dvbdevice.c index b5153db0..132feef9 100644 --- a/dvbdevice.c +++ b/dvbdevice.c @@ -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(); |