Commit de87f916 authored by Jean-Paul Saman's avatar Jean-Paul Saman Committed by Jean-Paul Saman

Return VLC_ENOMEM when there is not enough memory.

parent 46f671ee
......@@ -81,7 +81,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