1
mirror of https://code.videolan.org/videolan/vlc synced 2024-10-07 03:56:28 +02:00

dvbsub: remove dummy test (already check then dereference before).

This commit is contained in:
Rémi Duraffort 2010-02-11 16:00:49 +01:00
parent 4b7fc754de
commit 889d554841

View File

@ -1643,11 +1643,6 @@ static subpicture_t *render( decoder_t *p_dec )
fmt.i_height = fmt.i_visible_height = p_region->i_height;
fmt.i_x_offset = fmt.i_y_offset = 0;
p_spu_region = subpicture_region_New( &fmt );
if( !p_region )
{
msg_Err( p_dec, "cannot allocate SPU region" );
continue;
}
p_spu_region->psz_text = strdup( p_object_def->psz_text );
p_spu_region->i_x = i_base_x + p_regiondef->i_x + p_object_def->i_x;