Commit 76ed5901 authored by Rafaël Carré's avatar Rafaël Carré

realvideo: use VLC_TS_INVALID (refs #3135)

parent ee38aedb
...@@ -456,7 +456,7 @@ static picture_t *DecodeVideo( decoder_t *p_dec, block_t **pp_block ) ...@@ -456,7 +456,7 @@ static picture_t *DecodeVideo( decoder_t *p_dec, block_t **pp_block )
p_block = *pp_block; p_block = *pp_block;
*pp_block = NULL; *pp_block = NULL;
i_pts = p_block->i_pts ? p_block->i_pts : p_block->i_dts; i_pts = (p_block->i_pts > VLC_TS_INVALID) ? p_block->i_pts : p_block->i_dts;
vlc_mutex_lock( &rm_mutex ); vlc_mutex_lock( &rm_mutex );
......
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