summaryrefslogtreecommitdiff
path: root/libavutil/mathematics.h
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2013-01-03 00:02:48 +0100
committerClément Bœsch <ubitux@gmail.com>2013-01-03 00:02:51 +0100
commitf263426eedd332ef353997c278dbe9a26ec80c1a (patch)
tree0edcdc44040c6f93290ba79acba5d469970a8720 /libavutil/mathematics.h
parent98db90589651474366a32e14e3ad062ef3ca6707 (diff)
downloadffmpeg-f263426eedd332ef353997c278dbe9a26ec80c1a.tar.gz
lavu/math: fix than/then typo, and add a comma.
Diffstat (limited to 'libavutil/mathematics.h')
-rw-r--r--libavutil/mathematics.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavutil/mathematics.h b/libavutil/mathematics.h
index 479161e1fd..71f0392218 100644
--- a/libavutil/mathematics.h
+++ b/libavutil/mathematics.h
@@ -90,8 +90,8 @@ int64_t av_rescale(int64_t a, int64_t b, int64_t c) av_const;
* Rescale a 64-bit integer with specified rounding.
* A simple a*b/c isn't possible as it can overflow.
*
- * @return rescaled value a or if AV_ROUND_PASS_MINMAX is set and a is
- * INT64_MIN or INT64_MAX than a is passed through unchanged.
+ * @return rescaled value a, or if AV_ROUND_PASS_MINMAX is set and a is
+ * INT64_MIN or INT64_MAX then a is passed through unchanged.
*/
int64_t av_rescale_rnd(int64_t a, int64_t b, int64_t c, enum AVRounding) av_const;
@@ -103,8 +103,8 @@ int64_t av_rescale_q(int64_t a, AVRational bq, AVRational cq) av_const;
/**
* Rescale a 64-bit integer by 2 rational numbers with specified rounding.
*
- * @return rescaled value a or if AV_ROUND_PASS_MINMAX is set and a is
- * INT64_MIN or INT64_MAX than a is passed through unchanged.
+ * @return rescaled value a, or if AV_ROUND_PASS_MINMAX is set and a is
+ * INT64_MIN or INT64_MAX then a is passed through unchanged.
*/
int64_t av_rescale_q_rnd(int64_t a, AVRational bq, AVRational cq,
enum AVRounding) av_const;