From b25efc415e04afc36e10c88cb9b8668a84cf1bb7 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 10 Dec 2011 14:40:16 +0100 Subject: Removed a redundant NULL check in cDvbSpuDecoder::setTime() --- dvbspu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dvbspu.c') diff --git a/dvbspu.c b/dvbspu.c index 951e2f8c..25af228b 100644 --- a/dvbspu.c +++ b/dvbspu.c @@ -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 */ -- cgit v1.2.3