Rescale a 64-bit integer with specified rounding. A simple a*b/c isn't possible as it can overflow.
@return rescaled value a, or if AV_ROUND_PASS_MINMAX is set and a is INT64_MIN or INT64_MAX then a is passed through unchanged.
See Implementation
Rescale a 64-bit integer with specified rounding. A simple a*b/c isn't possible as it can overflow.
@return rescaled value a, or if AV_ROUND_PASS_MINMAX is set and a is INT64_MIN or INT64_MAX then a is passed through unchanged.