Fix FTBFS due to undefined uchar

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 906eb9cec6)
r14.1.x
Michele Calgaro 1 month ago
parent 4fa25f4036
commit 34d733475f
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

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

@ -27,7 +27,7 @@ using namespace TagLib;
class MP4::Mp4IsoFullBox::Mp4IsoFullBoxPrivate
{
public:
uchar version;
unsigned char version;
uint flags;
}; // Mp4IsoFullBoxPrivate
@ -55,7 +55,7 @@ void MP4::Mp4IsoFullBox::parsebox()
parse();
}
uchar MP4::Mp4IsoFullBox::version()
unsigned char MP4::Mp4IsoFullBox::version()
{
return d->version;
}

@ -38,7 +38,7 @@ namespace TagLib
virtual ~Mp4IsoFullBox();
//! function to get the version of box
uchar version();
unsigned char version();
//! function to get the flag map
uint flags();

Loading…
Cancel
Save