Rescale a 64-bit integer with rounding to nearest.
The operation is mathematically equivalent to a * b / c, but writing that directly can overflow.
This function is equivalent to av_rescale_rnd() with #AV_ROUND_NEAR_INF.
@see av_rescale_rnd(), av_rescale_q(), av_rescale_q_rnd()
See Implementation
Rescale a 64-bit integer with rounding to nearest.
The operation is mathematically equivalent to a * b / c, but writing that directly can overflow.
This function is equivalent to av_rescale_rnd() with #AV_ROUND_NEAR_INF.
@see av_rescale_rnd(), av_rescale_q(), av_rescale_q_rnd()