Commit 97d5b2d6 authored by Jean-Paul Saman's avatar Jean-Paul Saman Committed by Jean-Paul Saman

Fix indentation.

Signed-off-by: Jean-Paul Saman's avatarJean-Paul Saman <jean-paul.saman@m2x.nl>
parent 4510c72e
......@@ -157,11 +157,12 @@ int OpenVideoDecoder( vlc_object_t *p_this )
free( psz_codec );
return VLC_SUCCESS;
error:
if( p_sys->e ) Engine_close( p_sys->e );
free( p_sys );
free( psz_codec );
return VLC_EGENERIC;
error:
if( p_sys->e ) Engine_close( p_sys->e );
free( p_sys );
free( psz_codec );
free( psz_engine );
return VLC_EGENERIC;
}
/*****************************************************************************
......@@ -392,9 +393,11 @@ static picture_t *DecodeVideoBlockInner( decoder_t *p_dec, block_t **pp_block, i
return p_pic;
error:
if( p_pic && p_pic->pf_release )
p_pic->pf_release( p_pic );
block_Release( p_block );
return NULL;
error:
if( p_pic && p_pic->pf_release )
p_pic->pf_release( p_pic );
/* Do we really need this everytime? (like if buffer memory allocation fails we could keep the block) */
block_Release( p_block );
return NULL;
}
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