Commit 7f649acf authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Subpicture: remove NULL assignment after calloc

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 23c49729
......@@ -220,11 +220,6 @@ subpicture_region_t *subpicture_region_New( const video_format_t *p_fmt )
*p_region->fmt.p_palette = *p_fmt->p_palette;
}
p_region->i_alpha = 0xff;
p_region->p_next = NULL;
p_region->p_private = NULL;
p_region->psz_text = NULL;
p_region->p_style = NULL;
p_region->p_picture = NULL;
if( p_fmt->i_chroma == VLC_CODEC_TEXT )
return p_region;
......
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