summaryrefslogtreecommitdiff
path: root/plugins/artwork/artwork.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/artwork/artwork.c')
-rw-r--r--plugins/artwork/artwork.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/artwork/artwork.c b/plugins/artwork/artwork.c
index aa941b81..6ba07522 100644
--- a/plugins/artwork/artwork.c
+++ b/plugins/artwork/artwork.c
@@ -978,6 +978,7 @@ fetcher_thread (void *none)
#ifdef USE_METAFLAC
// try to load embedded from flac metadata
+ for (;;)
{
const char *filename = param->fname;
FLAC__Metadata_Chain *chain = FLAC__metadata_chain_new();
@@ -1040,6 +1041,7 @@ fetcher_thread (void *none)
if (iterator) {
FLAC__metadata_iterator_delete(iterator);
}
+ break;
}
#endif
}