Commit 3891d412 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

p_sys NULL check (CID 115).

parent 4606928c
......@@ -148,6 +148,9 @@ static int DecoderOpen( vlc_object_t *p_this )
}
p_dec->p_sys = p_sys = calloc( 1, sizeof( decoder_sys_t ) );
if( p_sys == NULL )
return VLC_ENOMEM;
p_sys->i_debug = config_GetInt( p_this, MODULE_STRING "-debug" );
p_sys->i_image = -1;
......
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