audiofile: fixed misplaced if
[mk: by definition, tag_new() cannot fail - removed check]
This commit is contained in:
parent
63272d6888
commit
eac4ed2241
|
@ -120,7 +120,6 @@ static struct tag *audiofileTagDup(const char *file)
|
||||||
int total_time = getAudiofileTotalTime(file);
|
int total_time = getAudiofileTotalTime(file);
|
||||||
|
|
||||||
if (total_time >= 0) {
|
if (total_time >= 0) {
|
||||||
if (!ret)
|
|
||||||
ret = tag_new();
|
ret = tag_new();
|
||||||
ret->time = total_time;
|
ret->time = total_time;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue