diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2007-02-03 10:26:17 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2007-02-03 10:26:17 +0100 |
commit | 31820a5175b26e86effe9594d9293ecec2ac5812 (patch) | |
tree | b48ac3be46f868949bad5b3cde3721a5a0c87b4c /dvbspu.c | |
parent | d919573037912d85690bf0d944d9c1bd09af65e7 (diff) | |
download | vdr-31820a5175b26e86effe9594d9293ecec2ac5812.tar.gz vdr-31820a5175b26e86effe9594d9293ecec2ac5812.tar.bz2 |
Removed 'assert(0)' from cDvbSpuDecoder::setTime()
Diffstat (limited to 'dvbspu.c')
-rw-r--r-- | dvbspu.c | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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) { |