Commit 1c4f86f5 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

dirac: remove useless if

parent 03fe1079
...@@ -223,7 +223,7 @@ static dirac_block_encap_t *dirac_RemoveBlockEncap( block_t *p_block ) ...@@ -223,7 +223,7 @@ static dirac_block_encap_t *dirac_RemoveBlockEncap( block_t *p_block )
{ {
fake_block_t *p_fake = (fake_block_t *)p_block; fake_block_t *p_fake = (fake_block_t *)p_block;
dirac_block_encap_t *p_dbe = p_fake->p_priv; dirac_block_encap_t *p_dbe = p_fake->p_priv;
if( !p_dbe ) return NULL;
p_fake->p_priv = NULL; p_fake->p_priv = NULL;
p_dbe->pf_blk_release = NULL; p_dbe->pf_blk_release = NULL;
return p_dbe; return p_dbe;
......
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