diff options
author | Michele Calgaro <[email protected]> | 2024-04-12 12:42:48 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-04-12 12:42:48 +0900 |
commit | 2eda7f08c699160b1f42a0a66156559fa5479778 (patch) | |
tree | c70495e0aaf33dceb41c8b4403cb58c532efebb3 /src/metadata/m4a/mp4stblbox.cpp | |
parent | 4e11f456f02a652398cc1bc8530b111c4e3d8933 (diff) | |
download | soundkonverter-2eda7f08c699160b1f42a0a66156559fa5479778.tar.gz soundkonverter-2eda7f08c699160b1f42a0a66156559fa5479778.zip |
Add support for taglib 2
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/metadata/m4a/mp4stblbox.cpp')
-rw-r--r-- | src/metadata/m4a/mp4stblbox.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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<MP4::File*>( 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<TagLib::uint>(fourcc) == 0x73747364 /*'stsd'*/ ) + if( static_cast<uint>(fourcc) == 0x73747364 /*'stsd'*/ ) { // cast to stsd box MP4::Mp4StsdBox* stsdbox = dynamic_cast<MP4::Mp4StsdBox*>(curbox); |