diff options
Diffstat (limited to 'src/decoder/mp4_plugin.c')
-rw-r--r-- | src/decoder/mp4_plugin.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/src/decoder/mp4_plugin.c b/src/decoder/mp4_plugin.c index bc36acf8a..fd7415137 100644 --- a/src/decoder/mp4_plugin.c +++ b/src/decoder/mp4_plugin.c @@ -405,21 +405,7 @@ mp4_load_tag(const char *file) static struct tag * mp4_tag_dup(const char *file) { - struct tag *ret = NULL; - - ret = mp4_load_tag(file); - if (!ret) - return NULL; - if (tag_is_empty(ret)) { - struct tag *temp = tag_id3_load(file); - if (temp) { - temp->time = ret->time; - tag_free(ret); - ret = temp; - } - } - - return ret; + return mp4_load_tag(file); } static const char *const mp4_suffixes[] = { "m4a", "mp4", NULL }; |