diff options
Diffstat (limited to '')
-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; |