aboutsummaryrefslogtreecommitdiffstats
path: root/src/player.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/player.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/player.c b/src/player.c
index fc906d1eb..d6a79b74a 100644
--- a/src/player.c
+++ b/src/player.c
@@ -335,6 +335,11 @@ int queueSong(char * utf8file) {
pc->decodeType = DECODE_TYPE_AUDIOFILE;
}
#endif
+#ifdef HAVE_AUDIOFILE
+ else if(isMp4(utf8file,NULL)) {
+ pc->decodeType = DECODE_TYPE_MP4;
+ }
+#endif
else return -1;
pc->queueState = PLAYER_QUEUE_FULL;
return 0;