X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=afh_common.c;h=063ae8f0b104ccab15e9f10f637ec34e7783e785;hp=7947a66519f8dba3784257bcce6669942d4fa9ad;hb=ee3dfa7ab8a74124448649386e877775cd8625b6;hpb=5e12f77a5b2a76c8a6f19a96958e0992962573db diff --git a/afh_common.c b/afh_common.c index 7947a665..063ae8f0 100644 --- a/afh_common.c +++ b/afh_common.c @@ -48,7 +48,7 @@ static struct audio_format_handler afl[] = { }, { .name = "aac", -#ifdef HAVE_FAAD +#if defined(HAVE_MP4V2) .init = aac_afh_init, #endif }, @@ -64,7 +64,7 @@ static struct audio_format_handler afl[] = { }, { .name = "flac", -#ifdef HAVE_FLAC +#if defined(HAVE_OGG) && defined(HAVE_FLAC) .init = flac_afh_init, #endif }, @@ -367,9 +367,9 @@ unsigned afh_get_afhi_txt(int audio_format_num, struct afh_info *afhi, char **re "%s: %s\n" /* format */ "%s: %dHz\n" /* frequency */ "%s: %d\n" /* channels */ - "%s: %lu\n" /* seconds total */ + "%s: %" PRIu32 "\n" /* seconds total */ "%s: %lu: %lu\n" /* chunk time */ - "%s: %lu\n" /* num chunks */ + "%s: %" PRIu32 "\n" /* num chunks */ "%s: %s\n" /* techinfo */ "%s: %s\n" /* artist */ "%s: %s\n" /* title */