Commit 00c97dd6 authored by Laurent Aimar's avatar Laurent Aimar

Fixed possible NULL deference in teletext path (CID 265).

parent 22376246
......@@ -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;
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment