Skip to content

qtdemux: use unsigned int types to store result of QT_UINT32

In a few cases throughout qtdemux, the results of QT_UINT32 were being stored in a signed integer, which could cause subtle bugs in the case of an integer overflow, even allowing the the result to equal a negative number!

This patch prevents this by simply storing the results of this function call properly in an unsigned integer type.

Merge request reports