Commit 12d3bd07 authored by Warren Dukes's avatar Warren Dukes

fix a bug in update if unable to open mp4 file, would cause a segfault

git-svn-id: https://svn.musicpd.org/mpd/trunk@1025 09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent c34d372a
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment