]> git.tue.mpg.de Git - paraslash.git/commit
ogg_afh_common: Fix signedness issue.
authorAndre Noll <maan@tuebingen.mpg.de>
Thu, 6 Jun 2019 06:28:58 +0000 (08:28 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Thu, 6 Jun 2019 06:40:49 +0000 (08:40 +0200)
commitb223b30fd6ecea80100b1d4a6802cef0e9c29e49
tree6a5803dd4b06c2a93bac35303b7ca08dc6145488
parent16f2ff3d3a6951588cd7a4ba1b33832a07b8652b
ogg_afh_common: Fix signedness issue.

The previous patch introduced a regression because "granule" was made
unsigned by mistake but needs to be a signed variable. This can cause
the loop in oac_get_file_info() to not terminate which eventually
results in an abort due to an allocation failure:

para_realloc: realloc failed (size = 2097152000), aborting
ogg_afh_common.c