summaryrefslogtreecommitdiffstats
path: root/apps/metadata/flac.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/metadata/flac.c')
-rw-r--r--apps/metadata/flac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/metadata/flac.c b/apps/metadata/flac.c
index a50649e54a..21ecdd61ca 100644
--- a/apps/metadata/flac.c
+++ b/apps/metadata/flac.c
@@ -101,7 +101,7 @@ bool get_flac_metadata(int fd, struct mp3entry* id3)
else if (type == 4) /* 4 is the VORBIS_COMMENT block */
{
/* The next i bytes of the file contain the VORBIS COMMENTS. */
- if (!read_vorbis_tags(fd, id3, i))
+ if (read_vorbis_tags(fd, id3, i) == 0)
{
return rc;
}