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/ogg_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/ogg_plugin.c')
-rw-r--r-- | src/inputPlugins/ogg_plugin.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/inputPlugins/ogg_plugin.c b/src/inputPlugins/ogg_plugin.c index f74e3e56a..abadca388 100644 --- a/src/inputPlugins/ogg_plugin.c +++ b/src/inputPlugins/ogg_plugin.c @@ -366,7 +366,11 @@ MpdTag * oggTagDup(char * file) { OggVorbis_File vf; fp = fopen(file,"r"); - if(!fp) return NULL; + if(!fp) + { + DEBUG("oggTagDup: Failed to open file: '%s', %s\n", file, strerror(errno)); + return NULL; + } if(ov_open(fp,&vf,NULL,0)<0) { fclose(fp); return NULL; |