av_rescale_rnd

Rescale a 64-bit integer with specified rounding. A simple a*b/c isn't possible as it can overflow.

@nogc nothrow extern (C)
int64_t
av_rescale_rnd
(
int64_t a
,
int64_t b
,
int64_t c
,)

Meta