summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2024-04-26 11:33:36 +0200
committerSlávek Banko <slavek.banko@axis.cz>2024-04-26 11:33:36 +0200
commit4a0485854f175f1aef5332edfe70164beb4e05fd (patch)
treea4adbf79ef6ef9645e23d32ea683546c725260e6
parent52621df426c26faf60f5b4aeee8080d1d3433456 (diff)
downloadamarok-4a0485854f175f1aef5332edfe70164beb4e05fd.tar.gz
amarok-4a0485854f175f1aef5332edfe70164beb4e05fd.zip
Add support for taglib 2, part 2.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r--amarok/src/metadata/m4a/mp4file.cpp4
-rw-r--r--amarok/src/metadata/m4a/mp4isofullbox.cpp2
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<TagLib::uchar>(input[0]);
+ tmp_input = static_cast<uchar>(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;
}