AAC reader: fix compilation on 32-bit systems

This commit is contained in:
Moritz Bunkus 2021-04-04 21:56:34 +02:00
parent ab90ad546f
commit d206107d1d
No known key found for this signature in database
GPG Key ID: 74AF00ADF2E32C85

View File

@ -106,7 +106,7 @@ file_status_e
aac_reader_c::read(generic_packetizer_c *,
bool) {
auto remaining_bytes = m_size - m_in->getFilePointer();
auto read_len = std::min(m_chunk->get_size(), remaining_bytes);
auto read_len = std::min<int64_t>(m_chunk->get_size(), remaining_bytes);
auto num_read = m_in->read(m_chunk, read_len);
if (0 < num_read) {