aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/tag.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tag.c b/src/tag.c
index ccd7b421e..dd1ea852c 100644
--- a/src/tag.c
+++ b/src/tag.c
@@ -285,6 +285,7 @@ MpdTag * mp4TagDup(char * utf8file) {
int mp4MetadataFound = 0;
ret = mp4DataDup(utf8file,&mp4MetadataFound);
+ if(!ret) return NULL;
if(!mp4MetadataFound) {
MpdTag * temp = id3Dup(utf8file);
if(temp) {