summaryrefslogtreecommitdiff
path: root/dvbspu.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2007-02-03 10:17:33 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2007-02-03 10:17:33 +0100
commit9809d5a7cc8d94c0b4345aadb926973a024c7d1f (patch)
tree2fdc3fd1d81a224e962e9b4b9963a3b65ec638ff /dvbspu.c
parent11116e1d5bf403cacee59fc6e55c3c6a1233c17c (diff)
downloadvdr-9809d5a7cc8d94c0b4345aadb926973a024c7d1f.tar.gz
vdr-9809d5a7cc8d94c0b4345aadb926973a024c7d1f.tar.bz2
Removed 'assert(0)' from cDvbSpuDecoder::setTime()
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 b2935f44..2368d21f 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 11:00:00 kls Exp $
+ * $Id: dvbspu.c 1.21.1.1 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) {