Commit 782d17df authored by Rafaël Carré's avatar Rafaël Carré

cdg: use VLC_TS_INVALID (refs #3135)

parent ac7fb43a
...@@ -166,7 +166,7 @@ static picture_t *Decode( decoder_t *p_dec, block_t **pp_block ) ...@@ -166,7 +166,7 @@ static picture_t *Decode( decoder_t *p_dec, block_t **pp_block )
goto exit; goto exit;
Render( p_sys, p_pic ); Render( p_sys, p_pic );
p_pic->date = p_block->i_pts > 0 ? p_block->i_pts : p_block->i_dts; p_pic->date = p_block->i_pts > VLC_TS_INVALID ? p_block->i_pts : p_block->i_dts;
} }
exit: exit:
......
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