Commit 530585d1 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

block_FifoShow: fix condition variable usage

parent 2cc94e2e
......@@ -526,7 +526,7 @@ block_t *block_FifoShow( block_fifo_t *p_fifo )
vlc_mutex_lock( &p_fifo->lock );
mutex_cleanup_push( &p_fifo->lock );
if( p_fifo->p_first == NULL )
while( p_fifo->p_first == NULL )
vlc_cond_wait( &p_fifo->wait, &p_fifo->lock );
b = p_fifo->p_first;
......
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