summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <waker@users.sourceforge.net>2014-06-27 19:25:51 +0200
committerGravatar Alexey Yakovenko <waker@users.sourceforge.net>2014-06-27 19:25:51 +0200
commit2fa55c37ea2c33be975ed5500912af429a113144 (patch)
tree90c830c146bbaeff6b6536a288e35958b6634159
parenta559edd98e3cf76775bf0c842c37489aa4d1c326 (diff)
Revert "artwork: fix regression in fetching album art from id3v2.4"
-rw-r--r--plugins/artwork/artwork.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/artwork/artwork.c b/plugins/artwork/artwork.c
index 7a5b56f6..612e4f1e 100644
--- a/plugins/artwork/artwork.c
+++ b/plugins/artwork/artwork.c
@@ -1002,6 +1002,10 @@ fetcher_thread (void *none)
continue;
}
uint8_t *data = f->data;
+ if (tag.version[0] == 4) {
+ // skip size
+ data += 4;
+ }
uint8_t *end = f->data + f->size;
int enc = *data;
data++; // enc