static subpicture_t *Decode( decoder_t *p_dec, block_t **pp_block )
{
- decoder_sys_t *p_sys = p_dec->p_sys;
-
if( pp_block && *pp_block )
{
Push( p_dec, *pp_block );
{
msg_Warn( p_dec, "can't get spu buffer" );
free( psz_subtitle );
- if( psz_html )
- free( psz_html );
+ free( psz_html );
return NULL;
}
{
msg_Err( p_dec, "cannot allocate SPU region" );
free( psz_subtitle );
- if( psz_html )
- free( psz_html );
+ free( psz_html );
p_dec->pf_spu_buffer_del( p_dec, p_spu );
return NULL;
}