summaryrefslogtreecommitdiff
path: root/dvbspu.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2007-02-03 10:26:17 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2007-02-03 10:26:17 +0100
commit31820a5175b26e86effe9594d9293ecec2ac5812 (patch)
treeb48ac3be46f868949bad5b3cde3721a5a0c87b4c /dvbspu.c
parentd919573037912d85690bf0d944d9c1bd09af65e7 (diff)
downloadvdr-31820a5175b26e86effe9594d9293ecec2ac5812.tar.gz
vdr-31820a5175b26e86effe9594d9293ecec2ac5812.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..1ca5435f 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.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) {