]> 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 f77880ba83a16527b671d76d5137b1bd801a9a70..eb0813df1cb10d16512fd6a863d7c50cb24cba43 100644 (file)
@@ -58,19 +58,19 @@ static struct audio_format_handler afl[] = {
        },
        {
                .name = "spx",
-#ifdef HAVE_SPEEX
+#if defined(HAVE_OGG) && defined(HAVE_SPEEX)
                .init = spx_afh_init,
 #endif
        },
        {
                .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
        },