aacdec: "consumed" is only used in mp4dec()
[paraslash.git] / afs.c
diff --git a/afs.c b/afs.c
index 6cc58bb44a0cb721691cd9fd6b338b4effbaa5d1..29bae161682bc00f6fd133e3c29ca7e5df06994d 100644 (file)
--- a/afs.c
+++ b/afs.c
  * the current audio format, audio file selector and of the activated senders.
  */
 
+#include "server.h"
 #include <sys/time.h> /* gettimeofday */
 #include "server.cmdline.h"
 #include "db.h"
-#include "server.h"
 #include "afs.h"
 #include "send.h"
 #include "error.h"
@@ -51,6 +51,9 @@ static FILE *audio_file = NULL;
 #ifdef HAVE_OGGVORBIS
        void ogg_init(void *);
 #endif
+#ifdef HAVE_FAAD
+       void aac_afh_init(void *);
+#endif
 
 /**
  * the list of supported  audio formats
@@ -67,6 +70,12 @@ struct audio_format afl[] = {
                .name = "ogg",
                .init = ogg_init,
        },
+#endif
+#ifdef HAVE_FAAD
+       {
+               .name = "aac",
+               .init = aac_afh_init,
+       },
 #endif
        {
                .name = NULL,