Commit 61f757bb authored by Rafaël Carré's avatar Rafaël Carré

spudec: use VLC_TS_INVALID (refs #3135)

parent 70f124c9
......@@ -200,7 +200,7 @@ static block_t *Reassemble( decoder_t *p_dec, block_t **pp_block )
*pp_block = NULL;
if( p_sys->i_spu_size <= 0 &&
( p_block->i_pts <= 0 || p_block->i_buffer < 4 ) )
( p_block->i_pts <= VLC_TS_INVALID || p_block->i_buffer < 4 ) )
{
msg_Dbg( p_dec, "invalid starting packet (size < 4 or pts <=0)" );
msg_Dbg( p_dec, "spu size: %d, i_pts: %"PRId64" i_buffer: %zu",
......
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