Commit 578b83be authored by Rafaël Carré's avatar Rafaël Carré

Use block_ChainRelease

parent 4847fa89
...@@ -1530,12 +1530,7 @@ static void DecoderProcessSout( decoder_t *p_dec, block_t *p_block ) ...@@ -1530,12 +1530,7 @@ static void DecoderProcessSout( decoder_t *p_dec, block_t *p_block )
(char *)&p_owner->sout.i_codec ); (char *)&p_owner->sout.i_codec );
p_dec->b_error = true; p_dec->b_error = true;
while( p_sout_block ) block_ChainRelease(p_sout_block);
{
block_t *p_next = p_sout_block->p_next;
block_Release( p_sout_block );
p_sout_block = p_next;
}
break; break;
} }
} }
......
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