aboutsummaryrefslogtreecommitdiffstats
path: root/src/decode.c
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-03-18 16:31:29 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-03-18 16:31:29 +0000
commitad94c1dcf3198180ba708b0b3598a4d982d90c87 (patch)
treea89394f3de028c5e0f5593244972ca15c7c5e40d /src/decode.c
parentf409d85bbdde60c3acc175c9ad30a6f9d372e9a8 (diff)
downloadmpd-ad94c1dcf3198180ba708b0b3598a4d982d90c87.tar.gz
mpd-ad94c1dcf3198180ba708b0b3598a4d982d90c87.tar.xz
mpd-ad94c1dcf3198180ba708b0b3598a4d982d90c87.zip
mp4/aac cleanups
git-svn-id: https://svn.musicpd.org/mpd/trunk@276 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/decode.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/decode.c b/src/decode.c
index 6b0a2c71e..8cc1bf071 100644
--- a/src/decode.c
+++ b/src/decode.c
@@ -38,6 +38,9 @@
#ifdef HAVE_AUDIOFILE
#include "audiofile_decode.h"
#endif
+#ifdef HAVE_FAAD
+#include "mp4_decode.h"
+#endif
#include <signal.h>
#include <sys/types.h>
@@ -213,6 +216,11 @@ int decoderInit(PlayerControl * pc, Buffer * cb, AudioFormat *af,
dc->error = mp3_decode(cb,af,dc);
break;
#endif
+#ifdef HAVE_FAAD
+ case DECODE_TYPE_MP4:
+ dc->error = mp4_decode(cb,af,dc);
+ break;
+#endif
#ifdef HAVE_OGG
case DECODE_TYPE_OGG:
dc->error = ogg_decode(cb,af,dc);