diff --git a/modules/codec/cc.c b/modules/codec/cc.c index f7ef1e821a36653d4d02210defd4121a05523773..9bbf7d669516af049cc1f43c2e75b28a11e0cdee 100644 --- a/modules/codec/cc.c +++ b/modules/codec/cc.c @@ -390,8 +390,7 @@ static void Push( decoder_t *p_dec, block_t *p_block ) if( p_sys->i_queue >= CC_MAX_REORDER_SIZE ) { - block_t *p_block = Pop( p_dec, true ); - block_Release( p_block ); + block_Release( Pop( p_dec, true ) ); msg_Warn( p_dec, "Trashing a CC entry" ); }