aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/tag.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tag.c b/src/tag.c
index b16b80d72..480bcfef5 100644
--- a/src/tag.c
+++ b/src/tag.c
@@ -274,7 +274,7 @@ MpdTag * mp4TagDup(char * utf8file) {
int mp4MetadataFound = 0;
ret = mp4DataDup(utf8file,&mp4MetadataFound);
- if(!mp4MetadataFound) {
+ if(ret && !mp4MetadataFound) {
MpdTag * temp = id3Dup(utf8file);
if(temp) {
temp->time = ret->time;