Commit 53ab1eaf authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

decoder: cosmetic change, do not special case flushing

parent c3f50431
...@@ -1017,8 +1017,10 @@ static void DecoderWaitUnblock( decoder_t *p_dec, bool *pb_reject ) ...@@ -1017,8 +1017,10 @@ static void DecoderWaitUnblock( decoder_t *p_dec, bool *pb_reject )
vlc_assert_locked( &p_owner->lock ); vlc_assert_locked( &p_owner->lock );
while( !p_owner->b_flushing ) for( ;; )
{ {
if( p_owner->b_flushing )
break;
if( p_owner->b_paused ) if( p_owner->b_paused )
{ {
if( p_owner->b_buffering && !p_owner->buffer.b_full ) if( p_owner->b_buffering && !p_owner->buffer.b_full )
......
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