diff options
Diffstat (limited to 'src/metadata/asf/asffile.cpp')
-rw-r--r-- | src/metadata/asf/asffile.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/metadata/asf/asffile.cpp b/src/metadata/asf/asffile.cpp index 55a12cc..bbe5ee5 100644 --- a/src/metadata/asf/asffile.cpp +++ b/src/metadata/asf/asffile.cpp @@ -325,7 +325,7 @@ ASF::File::HeaderExtensionObject::parse(ASF::File *file, uint /*size*/) long long dataPos = 0; while(dataPos < dataSize) { ByteVector guid = file->readBlock(16); - long long size = file->readQWORD(); + long long size = file->readTQWORD(); BaseObject *obj; if(guid == metadataGuid) { obj = new MetadataObject(); @@ -401,13 +401,13 @@ void ASF::File::read(bool /*readProperties*/, Properties::ReadStyle /*properties d->tag = new ASF::Tag(); d->properties = new ASF::Properties(); - d->size = readQWORD(); + d->size = readTQWORD(); int numObjects = readDWORD(); seek(2, Current); for(int i = 0; i < numObjects; i++) { ByteVector guid = readBlock(16); - long size = (long)readQWORD(); + long size = (long)readTQWORD(); BaseObject *obj; if(guid == filePropertiesGuid) { obj = new FilePropertiesObject(); @@ -513,7 +513,7 @@ unsigned int ASF::File::readDWORD() return v.toUInt(false); } -long long ASF::File::readQWORD() +long long ASF::File::readTQWORD() { ByteVector v = readBlock(8); return v.toLongLong(false); |