X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=afh_common.c;h=47104500e23417850ef2d164e1c98a68eac74632;hp=07e6a78c3aa4bcaf61e8645019c262473dbca023;hb=6c5220a23d66668e88929b2ba0f66758ab90a7be;hpb=8fcac57c23111fb59ca793eea4bc21e6aedcfd05;ds=sidebyside diff --git a/afh_common.c b/afh_common.c index 07e6a78c..47104500 100644 --- a/afh_common.c +++ b/afh_common.c @@ -97,9 +97,9 @@ void afh_init(void) * * \param name The filename. * - * \return This function returns -1 if it has no idea what kind of audio - * file this might be. Otherwise the (non-negative) number of the audio format - * is returned. + * \return This function returns \p -E_AUDIO_FORMAT if it has no idea what kind + * of audio file this might be. Otherwise the (non-negative) number of the + * audio format is returned. */ int guess_audio_format(const char *name) { @@ -119,7 +119,7 @@ int guess_audio_format(const char *name) return i; } } - return -1; + return -E_AUDIO_FORMAT; } char *make_taginfo(char *title, char *artist, char *album, char *year,