summaryrefslogtreecommitdiff
path: root/dvbdevice.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2004-10-16 12:57:51 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2004-10-16 12:57:51 +0200
commiteff00653c553bb1330c6bf80e6cd8039cd2499b7 (patch)
treed7b891084b4026406b14471474a48e1478d6381f /dvbdevice.c
parent414548446b9fc0122f6ca44145cc8e32747e8ddd (diff)
downloadvdr-eff00653c553bb1330c6bf80e6cd8039cd2499b7.tar.gz
vdr-eff00653c553bb1330c6bf80e6cd8039cd2499b7.tar.bz2
Moved the initialization of aPid1 and aPid2 to the beginning of cDvbDevice::cDvbDevice()
Diffstat (limited to 'dvbdevice.c')
-rw-r--r--dvbdevice.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/dvbdevice.c b/dvbdevice.c
index 56564afb..45e32b28 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 1.94 2004/10/15 13:07:52 kls Exp $
+ * $Id: dvbdevice.c 1.95 2004/10/16 12:51:56 kls Exp $
*/
#include "dvbdevice.h"
@@ -307,6 +307,7 @@ cDvbDevice::cDvbDevice(int n)
frontendType = fe_type_t(-1); // don't know how else to initialize this - there is no FE_UNKNOWN
spuDecoder = NULL;
playMode = pmNone;
+ aPid1 = aPid2 = 0;
// Devices that are present on all card types:
@@ -371,8 +372,6 @@ cDvbDevice::cDvbDevice(int n)
else
esyslog("ERROR: can't open DVB device %d", n);
- aPid1 = aPid2 = 0;
-
StartSectionHandler();
}