Skip to content
Snippets Groups Projects
Commit ef075e36 authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

avutil/mathematics: Document av_rescale_rnd() behavior on non int64 results


Reviewed-by: default avatarDerek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: default avatarMichael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit e154353f)
Signed-off-by: default avatarMichael Niedermayer <michael@niedermayer.cc>
parent 9e213f50
No related branches found
No related tags found
No related merge requests found
......@@ -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
* 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()
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment