Commit 25f268c6 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

delay: fix redundant test

parent 7ff1b068
......@@ -163,9 +163,9 @@ static int Send( sout_stream_t *p_stream, sout_stream_id_sys_t *id,
block_t *p_block = p_buffer;
while ( p_block != NULL )
{
if ( p_block->i_pts && p_block->i_pts != VLC_TS_INVALID )
if ( p_block->i_pts != VLC_TS_INVALID )
p_block->i_pts += p_sys->i_delay;
if ( p_block->i_dts && p_block->i_dts != VLC_TS_INVALID )
if ( p_block->i_dts != VLC_TS_INVALID )
p_block->i_dts += p_sys->i_delay;
p_block = p_block->p_next;
}
......
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