]> git.sesse.net Git - vlc/commitdiff
use proper error svn-trunk
authorChristophe Mutricy <xtophe@videolan.org>
Sun, 2 Mar 2008 00:09:35 +0000 (00:09 +0000)
committerChristophe Mutricy <xtophe@videolan.org>
Sun, 2 Mar 2008 00:09:35 +0000 (00:09 +0000)
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 */