Commit 27348412 authored by Jean-Paul Saman's avatar Jean-Paul Saman

Return VLC_ENOMEN iso VLC_EGENERIC when no more memory can be allocated.

parent ab946d5c
......@@ -82,7 +82,7 @@ int E_(OpenChroma)( vlc_object_t *p_this )
p_vout->chroma.p_sys = malloc( sizeof( chroma_sys_t ) );
if( p_vout->chroma.p_sys == NULL )
{
return VLC_EGENERIC;
return VLC_ENOMEM;
}
p_vout->chroma.p_sys->i_src_vlc_chroma = p_vout->render.i_chroma;
......
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