Commit 55334eea authored by Jean-Paul Saman's avatar Jean-Paul Saman

access_out/udp: cleanup

parent c82d4a8b
...@@ -343,7 +343,7 @@ static ssize_t Write( sout_access_out_t *p_access, block_t *p_buffer ) ...@@ -343,7 +343,7 @@ static ssize_t Write( sout_access_out_t *p_access, block_t *p_buffer )
if( p_sys->p_buffer->i_dts + p_sys->i_caching < now ) if( p_sys->p_buffer->i_dts + p_sys->i_caching < now )
{ {
msg_Dbg( p_access, "late packet for udp input (%"PRId64 ")", msg_Dbg( p_access, "late packet for udp input (%"PRId64 ")",
mdate() - p_sys->p_buffer->i_dts now - p_sys->p_buffer->i_dts
- p_sys->i_caching ); - p_sys->i_caching );
} }
block_FifoPut( p_sys->p_fifo, p_sys->p_buffer ); block_FifoPut( p_sys->p_fifo, p_sys->p_buffer );
...@@ -433,7 +433,7 @@ static void* ThreadWrite( void *data ) ...@@ -433,7 +433,7 @@ static void* ThreadWrite( void *data )
i_dropped_packets++; i_dropped_packets++;
continue; continue;
} }
else if( i_date - i_date_last < -1000 ) else if( (int)(i_date - i_date_last) < -1000 )
{ {
if( !i_dropped_packets ) if( !i_dropped_packets )
msg_Dbg( p_access, "mmh, packets in the past (%"PRId64")", msg_Dbg( p_access, "mmh, packets in the past (%"PRId64")",
......
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