Skip to content
Snippets Groups Projects
Commit a08a437d authored by Lyndon Brown's avatar Lyndon Brown Committed by François Cartegnie
Browse files

h26x: fix bad failure check

parent 1fc8b688
No related branches found
No related tags found
1 merge request!1099h26x: fix bad failure check
Pipeline #174461 passed with stage
in 19 minutes and 13 seconds
......@@ -335,7 +335,7 @@ static int GenericOpen( demux_t *p_demux, const char *psz_module,
float f_fps = 0;
char *psz_fpsvar;
if( asprintf( &psz_fpsvar, "%s-fps", psz_module ) )
if( asprintf( &psz_fpsvar, "%s-fps", psz_module ) != -1 )
{
f_fps = var_CreateGetFloat( p_demux, psz_fpsvar );
free( psz_fpsvar );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment