summaryrefslogtreecommitdiff
path: root/dvbspu.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <kls (at) cadsoft (dot) de>2007-02-24 18:00:00 +0100
committerKlaus Schmidinger <kls (at) cadsoft (dot) de>2007-02-24 18:00:00 +0100
commitb144f230a74e9cfdb131e1f20a104522f28d76f0 (patch)
tree99e5d9b991262a64bcc780d2dd180e3145890add /dvbspu.c
parent3f26d6dd96745dcdbaed98ce6ac764594e3495d3 (diff)
downloadvdr-patch-lnbsharing-b144f230a74e9cfdb131e1f20a104522f28d76f0.tar.gz
vdr-patch-lnbsharing-b144f230a74e9cfdb131e1f20a104522f28d76f0.tar.bz2
Version 1.4.5-2vdr-1.4.5-2
- Removed 'assert(0)' from cDvbSpuDecoder::setTime() (thanks to Marco Schlüßler). - Fixed a possible crash when loading an invalid XPM file (thanks to Martin Wache). - Updated satellite names in 'sources.conf' (thanks to Thilo Wunderlich). - Fixed handling error status in cDvbTuner::GetFrontendStatus() (thanks to Reinhard Nissl).
Diffstat (limited to 'dvbspu.c')
-rw-r--r--dvbspu.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/dvbspu.c b/dvbspu.c
index 48b20bf..1ca5435 100644
--- a/dvbspu.c
+++ b/dvbspu.c
@@ -8,7 +8,7 @@
*
* parts of this file are derived from the OMS program.
*
- * $Id: dvbspu.c 1.21 2006/04/17 12:45:05 kls Exp $
+ * $Id: dvbspu.c 1.22 2007/02/03 10:13:18 kls Exp $
*/
#include "dvbspu.h"
@@ -504,9 +504,8 @@ int cDvbSpuDecoder::setTime(uint32_t pts)
default:
esyslog("invalid sequence in control header (%.2x)",
spu[i]);
- assert(0);
- i++;
- break;
+ Empty();
+ return 0;
}
}
if (fodd != 0 && feven != 0) {