av_size_mult

Multiply two size_t values checking for overflow.

@paramin a,b Operands of multiplication @paramout r Pointer to the result of the operation @return 0 on success, AVERROR(EINVAL) on overflow

extern (C) @nogc nothrow
int
av_size_mult
(
size_t a
,
size_t b
,
size_t* r
)

Meta