Skip to content

Commit

Permalink
use proper error
Browse files Browse the repository at this point in the history
  • Loading branch information
Christophe Mutricy committed Mar 2, 2008
1 parent edca13e commit 24eee4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/codec/flac.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 24eee4b

Please sign in to comment.