X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=afh_common.c;h=fc0df417fbc8405a21359ecd389075322f96f979;hb=1c12b35b710ff503d3ccfb969f65a63ecc5652f0;hp=c5a25e36bfe889d22318fa28e5cf23088c2cbb67;hpb=9c1aa53f0cda586aa13a022452d16a2704055578;p=paraslash.git diff --git a/afh_common.c b/afh_common.c index c5a25e36..fc0df417 100644 --- a/afh_common.c +++ b/afh_common.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 1997-2014 Andre Noll + * Copyright (C) 1997 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -118,9 +118,9 @@ void afh_init(void) { int i; - PARA_INFO_LOG("supported audio formats: %s\n", AUDIO_FORMAT_HANDLERS); + PARA_NOTICE_LOG("supported audio formats: %s\n", AUDIO_FORMAT_HANDLERS); FOR_EACH_AUDIO_FORMAT(i) { - PARA_NOTICE_LOG("initializing %s handler\n", + PARA_INFO_LOG("initializing %s handler\n", audio_format_name(i)); afl[i].init(&afl[i]); } @@ -230,11 +230,12 @@ success: } /** - * Deallocate contents of a filled-in ahi structure + * Deallocate the contents of an afh_info structure. * * \param afhi The structure to clear. * - * The given pointer is kept, everything else is freed. + * This only frees the memory the various pointer fields of \a afhi point to. + * It does *not* free \a afhi itself. */ void clear_afhi(struct afh_info *afhi) {