From ebaecc47f48d659abb49b41bced5ea3f1577b551 Mon Sep 17 00:00:00 2001 From: "Stephen F. Booth" Date: Fri, 29 Nov 2013 08:21:23 -0500 Subject: [PATCH] Correctly read all 8 bytes for the metadata offset --- taglib/dsf/dsffile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/taglib/dsf/dsffile.cpp b/taglib/dsf/dsffile.cpp index 5a674112..860096a3 100644 --- a/taglib/dsf/dsffile.cpp +++ b/taglib/dsf/dsffile.cpp @@ -168,7 +168,7 @@ void DSF::File::read(bool readProperties, AudioProperties::ReadStyle propertiesS } d->fileSize = readBlock(8).toInt64LE(0); - d->metadataOffset = readBlock(8).toUInt32LE(0); + d->metadataOffset = readBlock(8).toInt64LE(0); // File is malformed or corrupted if(d->metadataOffset > d->fileSize) {