1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

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

This commit is contained in:
Klaus Schmidinger 2007-02-03 10:17:33 +01:00
parent 11116e1d5b
commit 9809d5a7cc
4 changed files with 10 additions and 6 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

@ -5035,3 +5035,7 @@ 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).
2007-02-03: Version 1.4.5-2
- Removed 'assert(0)' from cDvbSpuDecoder::setTime() (thanks to Marco Schlüßler).

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * how to reach the author.
* *
* $Id: config.h 1.282.1.1 2007/01/26 13:14:47 kls Exp $ * $Id: config.h 1.282.1.2 2007/02/03 10:14:42 kls Exp $
*/ */
#ifndef __CONFIG_H #ifndef __CONFIG_H
@ -21,7 +21,7 @@
// VDR's own version number: // VDR's own version number:
#define VDRVERSION "1.4.5-1" #define VDRVERSION "1.4.5-2"
#define VDRVERSNUM 10405 // Version * 10000 + Major * 100 + Minor #define VDRVERSNUM 10405 // Version * 10000 + Major * 100 + Minor
// The plugin API's version number: // The plugin API's version number:

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.21.1.1 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) {