aboutsummaryrefslogtreecommitdiffstats
path: root/src/player.c
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-03-17 03:10:17 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-03-17 03:10:17 +0000
commitf114fbd437dc4f767d85b9f429adf3a3eb9b943f (patch)
treec6a4a83596498787c7457998ad4d22d93cad1796 /src/player.c
parent0f11ce855e1cd4949d2c5db9c3f616b7be201b11 (diff)
downloadmpd-f114fbd437dc4f767d85b9f429adf3a3eb9b943f.tar.gz
mpd-f114fbd437dc4f767d85b9f429adf3a3eb9b943f.tar.xz
mpd-f114fbd437dc4f767d85b9f429adf3a3eb9b943f.zip
fix a few snafoo's in configure.ac
Add initial stuff for AAC support, now we just need to write the decoder git-svn-id: https://svn.musicpd.org/mpd/trunk@264 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/player.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/player.c b/src/player.c
index 5932a40cb..54fda2a6e 100644
--- a/src/player.c
+++ b/src/player.c
@@ -177,6 +177,9 @@ int playerPlay(FILE * fp, char * utf8file) {
#ifdef HAVE_AUDIOFILE
else if(isWave(utf8file,NULL)) pc->decodeType = DECODE_TYPE_AUDIOFILE;
#endif
+#ifdef HAVE_FAAD
+ else if(isAac(utf8file,NULL)) pc->decodeType = DECODE_TYPE_AAC;
+#endif
else {
strncpy(pc->erroredFile,pc->file,MAXPATHLEN);
pc->error = PLAYER_ERROR_UNKTYPE;