mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
avutil/mathematics: Document av_rescale_rnd() behavior on non int64 results
Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit e154353fdb73dc1b3c1519350244d5346f761850) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
79ea2bba3f
commit
e8363735fb
@ -134,6 +134,7 @@ int64_t av_rescale(int64_t a, int64_t b, int64_t c) av_const;
|
|||||||
*
|
*
|
||||||
* The operation is mathematically equivalent to `a * b / c`, but writing that
|
* The operation is mathematically equivalent to `a * b / c`, but writing that
|
||||||
* directly can overflow, and does not support different rounding methods.
|
* directly can overflow, and does not support different rounding methods.
|
||||||
|
* If the result is not representable then INT64_MIN is returned.
|
||||||
*
|
*
|
||||||
* @see av_rescale(), av_rescale_q(), av_rescale_q_rnd()
|
* @see av_rescale(), av_rescale_q(), av_rescale_q_rnd()
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user