diff options
author | Qball Cow <qball@qballcow.nl> | 2005-09-08 21:08:02 +0000 |
---|---|---|
committer | Qball Cow <qball@qballcow.nl> | 2005-09-08 21:08:02 +0000 |
commit | edcfbef90da5f3a6abf60559042d61d0f3d765d7 (patch) | |
tree | cd84b4a7b53e2ee90588a57bc581c34390b9dadd /src/inputPlugins/mp4_plugin.c | |
parent | bc666a9fc6dbd25bc9fd8cfe20d46bab9582682b (diff) | |
download | mpd-edcfbef90da5f3a6abf60559042d61d0f3d765d7.tar.gz mpd-edcfbef90da5f3a6abf60559042d61d0f3d765d7.tar.xz mpd-edcfbef90da5f3a6abf60559042d61d0f3d765d7.zip |
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
Diffstat (limited to 'src/inputPlugins/mp4_plugin.c')
-rw-r--r-- | src/inputPlugins/mp4_plugin.c | 5 |
1 files changed, 4 insertions, 1 deletions
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; |