From 1e74f596b238358fe0b348208d4ef714ce5dd9f2 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 12 Feb 2012 15:45:59 +0100 Subject: Fixed a possible crash when canceling VDR while displaying subtitles, and the primary device is no longer available --- dvbdevice.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'dvbdevice.c') 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: -- cgit v1.2.3