Commit a7040731 authored by Rémi Duraffort's avatar Rémi Duraffort

Chek return asprintf value.

parent 755df9f1
......@@ -253,8 +253,9 @@ void ExtVideo::ChangeVFiltersString( char *psz_name, vlc_bool_t b_add )
if( !psz_parser )
{
psz_parser = psz_string;
asprintf( &psz_string, ( *psz_string ) ? "%s:%s" : "%s%s",
psz_string, psz_name );
if( asprintf( &psz_string, ( *psz_string ) ? "%s:%s" : "%s%s",
psz_string, psz_name ) == -1 )
return;
free( psz_parser );
}
else
......
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