Mercurial > libavutil.hg
changeset 939:1acef06f2739 libavutil
Fix av_compare_mod() doxy.
author | stefano |
---|---|
date | Sun, 13 Jun 2010 09:06:50 +0000 |
parents | 693dea8b44f1 |
children | fc75699d2910 |
files | mathematics.h |
diffstat | 1 files changed, 7 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/mathematics.h Sun Jun 13 09:04:36 2010 +0000 +++ b/mathematics.h Sun Jun 13 09:06:50 2010 +0000 @@ -95,12 +95,14 @@ int av_compare_ts(int64_t ts_a, AVRational tb_a, int64_t ts_b, AVRational tb_b); /** - * Compare 2 integers modulo mod. - * That is we compare integers a and b for which only the least significant log2(mod) bits are known + * Compares 2 integers modulo mod. + * That is we compare integers a and b for which only the least + * significant log2(mod) bits are known. + * * @param mod must be a power of 2 - * @returns a negative value if a is smaller than b - * a positiv value if a is greater than b - * 0 if a equals b + * @return a negative value if a is smaller than b + * a positive value if a is greater than b + * 0 if a equals b */ int64_t av_compare_mod(uint64_t a, uint64_t b, uint64_t mod);