diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2011-12-10 14:40:16 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2011-12-10 14:40:16 +0100 |
commit | b25efc415e04afc36e10c88cb9b8668a84cf1bb7 (patch) | |
tree | 1d9b101ded1ef0ed7f90e4b656c02c0952ee8e9d /dvbspu.c | |
parent | da352e63c67c0e998bddbd293f9415d2f54a2b20 (diff) | |
download | vdr-b25efc415e04afc36e10c88cb9b8668a84cf1bb7.tar.gz vdr-b25efc415e04afc36e10c88cb9b8668a84cf1bb7.tar.bz2 |
Removed a redundant NULL check in cDvbSpuDecoder::setTime()
Diffstat (limited to 'dvbspu.c')
-rw-r--r-- | dvbspu.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -8,7 +8,7 @@ * * parts of this file are derived from the OMS program. * - * $Id: dvbspu.c 2.8 2010/01/17 13:43:27 kls Exp $ + * $Id: dvbspu.c 2.9 2011/12/10 14:39:19 kls Exp $ */ #include "dvbspu.h" @@ -496,7 +496,7 @@ int cDvbSpuDecoder::setTime(uint32_t pts) if (!spu) return 0; - if (spu && !clean) + if (!clean) Draw(); while (DCSQ_offset != prev_DCSQ_offset) { /* Display Control Sequences */ |