diff options
-rw-r--r-- | src/decoder/audiofile_plugin.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/decoder/audiofile_plugin.c b/src/decoder/audiofile_plugin.c index 7fd5d2320..40f5c31f0 100644 --- a/src/decoder/audiofile_plugin.c +++ b/src/decoder/audiofile_plugin.c @@ -120,8 +120,7 @@ static struct tag *audiofileTagDup(const char *file) int total_time = getAudiofileTotalTime(file); if (total_time >= 0) { - if (!ret) - ret = tag_new(); + ret = tag_new(); ret->time = total_time; } else { DEBUG |