]> git.sesse.net Git - vlc/blobdiff - modules/codec/flac.c
use proper error
[vlc] / modules / codec / flac.c
index 8b7cbfd3a60459ee0fe72cb91fd797d014d9830e..b1b8e883466078998a41d4e4add5aa037f95ed85 100644 (file)
@@ -215,7 +215,7 @@ static int OpenDecoder( vlc_object_t *p_this )
           (decoder_sys_t *)malloc(sizeof(decoder_sys_t)) ) == NULL )
     {
         msg_Err( p_dec, "out of memory" );
-        return VLC_EGENERIC;
+        return VLC_ENOMEM;
     }
 
     /* Misc init */