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