Commit a8433c32 authored by Francois Cartegnie's avatar Francois Cartegnie

text_renderer: win32text: fix build

parent df0d3087
......@@ -328,7 +328,8 @@ static int RenderText( filter_t *p_filter, subpicture_region_t *p_region_out,
if(i_len == 0)
return VLC_EGENERIC;
char *psz = psz_render_string = malloc(i_len + 1);
char *psz;
char *psz_render_string = psz = malloc(i_len + 1);
if(!psz_render_string)
return VLC_EGENERIC;
*psz = 0;
......
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