]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - afh_common.c
Merge branch 'refs/heads/t/com_ls_compat'
[paraslash.git] / afh_common.c
index b23ca97bd62b5db2371f11c5b2364f9e396a32c6..eb0813df1cb10d16512fd6a863d7c50cb24cba43 100644 (file)
@@ -64,13 +64,13 @@ static struct audio_format_handler afl[] = {
        },
        {
                .name = "flac",
-#ifdef HAVE_FLAC
+#if defined(HAVE_OGG) && defined(HAVE_FLAC)
                .init = flac_afh_init,
 #endif
        },
        {
                .name = "opus",
-#ifdef HAVE_OPUS
+#if defined(HAVE_OGG) && defined(HAVE_OPUS)
                .init = opus_afh_init,
 #endif
        },