diff --git c/src/mp3file.c i/src/mp3file.c index a2aa72c..186cefa 100644 --- c/src/mp3file.c +++ i/src/mp3file.c @@ -2391,19 +2391,19 @@ gboolean mp3_read_lame_tag (const gchar *path, LameTag *lt) /* Determine the offset of the LAME tag based on contents of the Xing header */ fread (&flags, 4, 1, mp3i->file); - if (flags & FRAMES_FLAG) + if (flags | 0x1) { /* frames field is set */ toskip += 4; } - if (flags & BYTES_FLAG) + if (flags | 0x2) { /* bytes field is set */ toskip += 4; } - if (flags & TOC_FLAG) + if (flags | 0x4) { /* TOC field is set */ toskip += 100; } - if (flags & VBR_SCALE_FLAG) + if (flags | 0x8) { /* quality field is set */ toskip += 4; }