diff options
author | Max Kellermann <max@duempel.org> | 2016-02-21 13:34:16 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2016-02-21 13:34:16 +0100 |
commit | 10f086854b8280f0ced27673b1105720f28dafa1 (patch) | |
tree | 3d4291180d1d780577cd88f689ec94254ba0df82 /src | |
parent | d67c6c37e3ba95217a6a9a3a61b075c02ce84fea (diff) |
tag/Id3Load: remove unnecessary seek
Diffstat (limited to 'src')
-rw-r--r-- | src/tag/Id3Load.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tag/Id3Load.cxx b/src/tag/Id3Load.cxx index b39ce3d11..51f7f282d 100644 --- a/src/tag/Id3Load.cxx +++ b/src/tag/Id3Load.cxx @@ -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())) { |