Commit 9a707e07 authored by Jean-Paul Saman's avatar Jean-Paul Saman

Oops use VLC_ error messages

parent 4acd4d48
......@@ -254,7 +254,7 @@ static int OpenDecoder( vlc_object_t *p_this )
/* *** get a p_context *** */
p_context = avcodec_alloc_context();
if( !p_context )
return -ENOMEM;
return VLC_ENOMEM;
p_context->debug = config_GetInt( p_dec, "ffmpeg-debug" );
p_context->opaque = (void *)p_this;
......
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