av_rescale

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

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

Meta