diff --git a/modules/codec/flac.c b/modules/codec/flac.c index 8b7cbfd3a60459ee0fe72cb91fd797d014d9830e..b1b8e883466078998a41d4e4add5aa037f95ed85 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 */