Commit 9ed75485 authored by Rafaël Carré's avatar Rafaël Carré

invmem: use VLC_TS_INVALID (refs #3135)

parent 48488e99
......@@ -247,7 +247,7 @@ static picture_t *DecodeBlock( decoder_t *p_dec, block_t **pp_block )
if ( !p_pic ) return NULL;
p_pic->b_force = true;
p_pic->p->i_pitch = p_dec->p_sys->i_pitch;
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;
// lock input and copy to picture
p_pic->p->p_pixels = p_sys->pf_lock( p_dec->p_sys->p_data );
......
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