From edcfbef90da5f3a6abf60559042d61d0f3d765d7 Mon Sep 17 00:00:00 2001 From: Qball Cow Date: Thu, 8 Sep 2005 21:08:02 +0000 Subject: Patch to make the configure flag for mpd-mad and mpd-libid3tag more logic (from ticho) git-svn-id: https://svn.musicpd.org/mpd/trunk@3477 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/inputPlugins/mp4_plugin.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/inputPlugins/mp4_plugin.c') diff --git a/src/inputPlugins/mp4_plugin.c b/src/inputPlugins/mp4_plugin.c index a66f7d43d..a1af848c5 100644 --- a/src/inputPlugins/mp4_plugin.c +++ b/src/inputPlugins/mp4_plugin.c @@ -326,7 +326,10 @@ MpdTag * mp4DataDup(char * file, int * mp4MetadataFound) { *mp4MetadataFound = 0; - if(openInputStream(&inStream, file) < 0) return NULL; + if(openInputStream(&inStream, file) < 0) { + DEBUG("mp4DataDup: Failed to open file: %s\n", file); + return NULL; + } cb = malloc(sizeof(mp4ff_callback_t)); cb->read = mp4_inputStreamReadCallback; -- cgit v1.2.3