diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-04-12 12:42:48 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-04-13 20:04:16 +0900 |
| commit | f2bd39a3d6ca8d34615d3f8dea58aac249a511a0 (patch) | |
| tree | 144605aa73f30ae139ad180230d7d21ff3d8737f /src/metadata/m4a/mp4mdiabox.cpp | |
| parent | 18bdfb200cdb167f6e10ead03c19544e48510277 (diff) | |
| download | soundkonverter-f2bd39a3.tar.gz soundkonverter-f2bd39a3.zip | |
Add support for taglib 2r14.1.2
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 2eda7f08c699160b1f42a0a66156559fa5479778)
Diffstat (limited to 'src/metadata/m4a/mp4mdiabox.cpp')
| -rw-r--r-- | src/metadata/m4a/mp4mdiabox.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/metadata/m4a/mp4mdiabox.cpp b/src/metadata/m4a/mp4mdiabox.cpp index c3b30ad..f4e7619 100644 --- a/src/metadata/m4a/mp4mdiabox.cpp +++ b/src/metadata/m4a/mp4mdiabox.cpp @@ -38,7 +38,7 @@ public: MP4::BoxFactory boxfactory; }; // class Mp4MdiaBoxPrivate -MP4::Mp4MdiaBox::Mp4MdiaBox( TagLib::File* file, MP4::Fourcc fourcc, TagLib::uint size, long offset ) +MP4::Mp4MdiaBox::Mp4MdiaBox( TagLib::File* file, MP4::Fourcc fourcc, uint size, long offset ) : Mp4IsoBox( file, fourcc, size, offset ) { d = new MP4::Mp4MdiaBox::Mp4MdiaBoxPrivate(); @@ -60,9 +60,9 @@ void MP4::Mp4MdiaBox::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; // stores the current handler type @@ -81,7 +81,7 @@ void MP4::Mp4MdiaBox::parse() // create the appropriate subclass and parse it MP4::Mp4IsoBox* curbox = d->boxfactory.createInstance( mp4file, fourcc, size, mp4file->tell() ); - if( static_cast<TagLib::uint>( fourcc ) == 0x6d696e66 /*"minf"*/ ) + if( static_cast<uint>( fourcc ) == 0x6d696e66 /*"minf"*/ ) { // cast to minf Mp4MinfBox* minfbox = dynamic_cast<Mp4MinfBox*>( curbox ); @@ -94,7 +94,7 @@ void MP4::Mp4MdiaBox::parse() curbox->parsebox(); d->mdiaBoxes.append( curbox ); - if(static_cast<TagLib::uint>( fourcc ) == 0x68646c72 /*"hdlr"*/ ) + if(static_cast<uint>( fourcc ) == 0x68646c72 /*"hdlr"*/ ) { // cast to hdlr box Mp4HdlrBox* hdlrbox = dynamic_cast<Mp4HdlrBox*>( curbox ); |
