Add support for taglib 2, part 2.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 4a0485854f)
r14.1.x
Slávek Banko 7 months ago
parent 9b2d0a2061
commit edadbab7b7
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -131,12 +131,12 @@ uint MP4::File::readSystemsLen()
uint length = 0; uint length = 0;
uint nbytes = 0; uint nbytes = 0;
ByteVector input; ByteVector input;
TagLib::uchar tmp_input; uchar tmp_input;
do do
{ {
input = readBlock(1); input = readBlock(1);
tmp_input = static_cast<TagLib::uchar>(input[0]); tmp_input = static_cast<uchar>(input[0]);
nbytes++; nbytes++;
length = (length<<7) | (tmp_input&0x7F); length = (length<<7) | (tmp_input&0x7F);
} while( (tmp_input&0x80) && (nbytes<4) ); } while( (tmp_input&0x80) && (nbytes<4) );

@ -55,7 +55,7 @@ void MP4::Mp4IsoFullBox::parsebox()
parse(); parse();
} }
TagLib::uchar MP4::Mp4IsoFullBox::version() uchar MP4::Mp4IsoFullBox::version()
{ {
return d->version; return d->version;
} }

Loading…
Cancel
Save