Commit cca9e206 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Use fstat()!

parent f3efda92
......@@ -184,10 +184,8 @@ static char *svg_GetTemplate( vlc_object_t *p_this )
struct stat s;
int i_ret;
i_ret = utf8_stat( psz_filename, &s );
if( i_ret )
if( fstat( fileno( file ), &s ) )
/* Problem accessing file information. Should not
happen as we could open it. */
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