Commit 7d5e8877 authored by Rafaël Carré's avatar Rafaël Carré

subsusf: use VLC_TS_INVALID (refs #3135)

parent bd8453b5
......@@ -182,7 +182,7 @@ static subpicture_t *ParseText( decoder_t *p_dec, block_t *p_block )
char *psz_subtitle = NULL;
/* We cannot display a subpicture with no date */
if( p_block->i_pts == 0 )
if( p_block->i_pts <= VLC_TS_INVALID )
{
msg_Warn( p_dec, "subtitle without a date" );
return NULL;
......
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