summaryrefslogtreecommitdiff
path: root/dvbdevice.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2012-02-12 15:45:59 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2012-02-12 15:45:59 +0100
commit1e74f596b238358fe0b348208d4ef714ce5dd9f2 (patch)
treedc5f7b77ca5f17747eda8a64351376072790245b /dvbdevice.c
parentcace8bed8d05444168ab82d0042f6ac5193befb4 (diff)
downloadvdr-1e74f596b238358fe0b348208d4ef714ce5dd9f2.tar.gz
vdr-1e74f596b238358fe0b348208d4ef714ce5dd9f2.tar.bz2
Fixed a possible crash when canceling VDR while displaying subtitles, and the primary device is no longer available
Diffstat (limited to 'dvbdevice.c')
-rw-r--r--dvbdevice.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/dvbdevice.c b/dvbdevice.c
index 2966ef33..ca522e8b 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 2.60 2012/02/12 12:38:49 kls Exp $
+ * $Id: dvbdevice.c 2.61 2012/02/12 15:45:10 kls Exp $
*/
#include "dvbdevice.h"
@@ -1008,6 +1008,7 @@ cDvbDevice::cDvbDevice(int Adapter, int Frontend)
numModulations = 0;
bondedDevice = NULL;
needsDetachBondedReceivers = false;
+ tsBuffer = NULL;
// Devices that are present on all card types: