tag/Id3Load: remove unnecessary seek

This commit is contained in:
Max Kellermann 2016-02-21 13:34:16 +01:00
parent d67c6c37e3
commit 10f086854b
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ tag_id3_read(FILE *file, long offset, int whence)
static UniqueId3Tag
tag_id3_find_from_beginning(FILE *stream)
{
auto tag = tag_id3_read(stream, 0, SEEK_SET);
auto tag = ReadId3Tag(stream);
if (!tag) {
return nullptr;
} else if (tag_is_id3v1(tag.get())) {