]> git.sesse.net Git - vlc/commitdiff
Fixed possible NULL deference in teletext path (CID 265).
authorLaurent Aimar <fenrir@videolan.org>
Thu, 9 Oct 2008 17:32:47 +0000 (19:32 +0200)
committerLaurent Aimar <fenrir@videolan.org>
Thu, 9 Oct 2008 17:32:47 +0000 (19:32 +0200)
src/input/decoder.c

index c52750423264092006d68517797569a3d82181ae..80ed3b3583cb4e561d97e56efb1d0b42f77d6282 100644 (file)
@@ -929,7 +929,7 @@ static void DecoderFixTs( decoder_t *p_dec, mtime_t *pi_ts0, mtime_t *pi_ts1,
         if( b_telx )
         {
             *pi_ts0 = DecoderTeletextFixTs( *pi_ts0, i_ts_delay );
-            if( *pi_ts1 && *pi_ts1 <= 0 )
+            if( pi_ts1 && *pi_ts1 <= 0 )
                 *pi_ts1 = *pi_ts0;
         }
     }