From 24eee4b8f2941ab42a9f02bc2c0b80ad4255a2be Mon Sep 17 00:00:00 2001
From: Christophe Mutricy <xtophe@videolan.org>
Date: Sun, 2 Mar 2008 00:09:35 +0000
Subject: [PATCH] use proper error

---
 modules/codec/flac.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/codec/flac.c b/modules/codec/flac.c
index 8b7cbfd3a604..b1b8e8834660 100644
--- a/modules/codec/flac.c
+++ b/modules/codec/flac.c
@@ -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 */
-- 
GitLab