From: Allan Sandfeld Jensen Date: Fri, 18 Mar 2005 00:10:21 +0000 (+0000) Subject: Sorry, that was actually wrong. X-Git-Tag: v1.5~293 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=119bfc86dbabbbf318bfb5e9aabd9b7555c6c4cf;p=taglib Sorry, that was actually wrong. git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@398578 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- diff --git a/ogg/flac/oggflacfile.cpp b/ogg/flac/oggflacfile.cpp index 7e330fce..02688bef 100644 --- a/ogg/flac/oggflacfile.cpp +++ b/ogg/flac/oggflacfile.cpp @@ -189,7 +189,7 @@ void Ogg::FLAC::File::scan() if (!metadataHeader.startsWith("fLaC")) { // FLAC 1.1.2+ - if (metadataHeader.startsWith("\x7fFLAC")) return; + if (metadataHeader.mid(1,4) != "FLAC") return; if (metadataHeader[5] != 1) return; // not version 1