From edadbab7b7ac7a6f41c33bbc13a862714eb1492b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Fri, 26 Apr 2024 11:33:36 +0200 Subject: [PATCH] Add support for taglib 2, part 2. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko (cherry picked from commit 4a0485854f175f1aef5332edfe70164beb4e05fd) --- amarok/src/metadata/m4a/mp4file.cpp | 4 ++-- amarok/src/metadata/m4a/mp4isofullbox.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/amarok/src/metadata/m4a/mp4file.cpp b/amarok/src/metadata/m4a/mp4file.cpp index b210f1ec..a1733a67 100644 --- a/amarok/src/metadata/m4a/mp4file.cpp +++ b/amarok/src/metadata/m4a/mp4file.cpp @@ -131,12 +131,12 @@ uint MP4::File::readSystemsLen() uint length = 0; uint nbytes = 0; ByteVector input; - TagLib::uchar tmp_input; + uchar tmp_input; do { input = readBlock(1); - tmp_input = static_cast(input[0]); + tmp_input = static_cast(input[0]); nbytes++; length = (length<<7) | (tmp_input&0x7F); } while( (tmp_input&0x80) && (nbytes<4) ); diff --git a/amarok/src/metadata/m4a/mp4isofullbox.cpp b/amarok/src/metadata/m4a/mp4isofullbox.cpp index c8963ba2..b104681f 100644 --- a/amarok/src/metadata/m4a/mp4isofullbox.cpp +++ b/amarok/src/metadata/m4a/mp4isofullbox.cpp @@ -55,7 +55,7 @@ void MP4::Mp4IsoFullBox::parsebox() parse(); } -TagLib::uchar MP4::Mp4IsoFullBox::version() +uchar MP4::Mp4IsoFullBox::version() { return d->version; }