|
|
@ -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) );
|
|
|
|