Removed 'assert(0)' from cDvbSpuDecoder::setTime()

This commit is contained in:
Klaus Schmidinger 2007-02-03 10:26:17 +01:00
parent d919573037
commit 31820a5175
3 changed files with 10 additions and 5 deletions

View File

@ -1389,6 +1389,7 @@ Marco Schl
replay has been stopped replay has been stopped
for reporting a problem with displaying the replay mode symbol in case of "Multi for reporting a problem with displaying the replay mode symbol in case of "Multi
speed mode" speed mode"
for removing 'assert(0)' from cDvbSpuDecoder::setTime()
Jürgen Schmitz <j.schmitz@web.de> Jürgen Schmitz <j.schmitz@web.de>
for reporting a bug in displaying the current channel when switching via the SVDRP for reporting a bug in displaying the current channel when switching via the SVDRP

View File

@ -5091,7 +5091,11 @@ Video Disk Recorder Revision History
with open file handles when starting background commands (thanks to Reinhard with open file handles when starting background commands (thanks to Reinhard
Nissl). Nissl).
2007-01-26: Version 1.5.1 2007-02-03: Version 1.4.5-2
- Removed 'assert(0)' from cDvbSpuDecoder::setTime() (thanks to Marco Schlüßler).
2007-02-03: Version 1.5.1
- Added cDevice::HasCi() so that devices with Common Interface can be avoided - Added cDevice::HasCi() so that devices with Common Interface can be avoided
when tuning to an FTA channel, thus preserving the CAM resources even on budget when tuning to an FTA channel, thus preserving the CAM resources even on budget
@ -5100,3 +5104,4 @@ Video Disk Recorder Revision History
- Now using cPipe instead of popen() in cCommand::Execute() to avoid problems - Now using cPipe instead of popen() in cCommand::Execute() to avoid problems
with open file handles when starting background commands (thanks to Reinhard with open file handles when starting background commands (thanks to Reinhard
Nissl). Nissl).
- Removed 'assert(0)' from cDvbSpuDecoder::setTime() (thanks to Marco Schlüßler).

View File

@ -8,7 +8,7 @@
* *
* parts of this file are derived from the OMS program. * 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" #include "dvbspu.h"
@ -504,9 +504,8 @@ int cDvbSpuDecoder::setTime(uint32_t pts)
default: default:
esyslog("invalid sequence in control header (%.2x)", esyslog("invalid sequence in control header (%.2x)",
spu[i]); spu[i]);
assert(0); Empty();
i++; return 0;
break;
} }
} }
if (fodd != 0 && feven != 0) { if (fodd != 0 && feven != 0) {