From 2eda7f08c699160b1f42a0a66156559fa5479778 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 12 Apr 2024 12:42:48 +0900 Subject: Add support for taglib 2 Signed-off-by: Michele Calgaro --- src/metadata/m4a/mp4stblbox.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/metadata/m4a/mp4stblbox.cpp') diff --git a/src/metadata/m4a/mp4stblbox.cpp b/src/metadata/m4a/mp4stblbox.cpp index f67de59..cfd1978 100644 --- a/src/metadata/m4a/mp4stblbox.cpp +++ b/src/metadata/m4a/mp4stblbox.cpp @@ -39,7 +39,7 @@ public: MP4::Fourcc handler_type; }; // class Mp4StblBoxPrivate -MP4::Mp4StblBox::Mp4StblBox( TagLib::File* file, MP4::Fourcc fourcc, TagLib::uint size, long offset ) +MP4::Mp4StblBox::Mp4StblBox( TagLib::File* file, MP4::Fourcc fourcc, uint size, long offset ) : Mp4IsoBox( file, fourcc, size, offset ) { d = new MP4::Mp4StblBox::Mp4StblBoxPrivate(); @@ -66,9 +66,9 @@ void MP4::Mp4StblBox::parse() { TagLib::MP4::File* mp4file = static_cast( file() ); - TagLib::uint totalsize = 8; + uint totalsize = 8; // parse all contained boxes - TagLib::uint size; + uint size; MP4::Fourcc fourcc; while( (mp4file->readSizeAndType( size, fourcc ) == true) ) @@ -86,7 +86,7 @@ void MP4::Mp4StblBox::parse() MP4::Mp4IsoBox* curbox = d->boxfactory.createInstance( mp4file, fourcc, size, mp4file->tell() ); // check for stsd - if( static_cast(fourcc) == 0x73747364 /*'stsd'*/ ) + if( static_cast(fourcc) == 0x73747364 /*'stsd'*/ ) { // cast to stsd box MP4::Mp4StsdBox* stsdbox = dynamic_cast(curbox); -- cgit v1.2.1