diff --git a/libavutil/mathematics.h b/libavutil/mathematics.h
index 852e2bf290dc88a4bbd95eac93afdb6be7639f56..12cd369036d0c010f6c6a3e335faf16dfefa2b11 100644
--- a/libavutil/mathematics.h
+++ b/libavutil/mathematics.h
@@ -58,7 +58,7 @@ enum AVRounding {
 
 /**
  * Returns the greatest common divisor of a and b.
- * If either a or b are 0 or either or both are <0 then behavior is
+ * If both a and b are 0 or either or both are <0 then behavior is
  * undefined.
  */
 int64_t av_const av_gcd(int64_t a, int64_t b);