summaryrefslogtreecommitdiff
path: root/libavutil/mathematics.h
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2010-06-13 09:06:50 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2010-06-13 09:06:50 +0000
commit297084275c3ace8624fb61827711d67b6154eaed (patch)
tree56b558625f0dd7edf2ed44886a665e4d2d659e33 /libavutil/mathematics.h
parent276b45afa085804d6f932e2fe016e700d72816df (diff)
Fix av_compare_mod() doxy.
Originally committed as revision 23593 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/mathematics.h')
-rw-r--r--libavutil/mathematics.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/libavutil/mathematics.h b/libavutil/mathematics.h
index 889ce959fd..eb78890096 100644
--- a/libavutil/mathematics.h
+++ b/libavutil/mathematics.h
@@ -95,12 +95,14 @@ int64_t av_rescale_q(int64_t a, AVRational bq, AVRational cq) av_const;
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);