mirror of https://git.ffmpeg.org/ffmpeg.git
lavu/mathematics: document so-called "cruft"
This commit is contained in:
parent
2c400ba7d1
commit
1e1513d01a
|
@ -117,6 +117,7 @@ int64_t av_rescale_rnd(int64_t a, int64_t b, int64_t c, enum AVRounding rnd)
|
||||||
return t1;
|
return t1;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
|
/* reference code doing (a*b + r) / c, requires libavutil/integer.h */
|
||||||
AVInteger ai;
|
AVInteger ai;
|
||||||
ai = av_mul_i(av_int2i(a), av_int2i(b));
|
ai = av_mul_i(av_int2i(a), av_int2i(b));
|
||||||
ai = av_add_i(ai, av_int2i(r));
|
ai = av_add_i(ai, av_int2i(r));
|
||||||
|
|
Loading…
Reference in New Issue