diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-03-18 16:31:29 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-03-18 16:31:29 +0000 |
commit | ad94c1dcf3198180ba708b0b3598a4d982d90c87 (patch) | |
tree | a89394f3de028c5e0f5593244972ca15c7c5e40d /src/decode.c | |
parent | f409d85bbdde60c3acc175c9ad30a6f9d372e9a8 (diff) | |
download | mpd-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 'src/decode.c')
-rw-r--r-- | src/decode.c | 8 |
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); |