summaryrefslogtreecommitdiff
path: root/libavutil/rational.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavutil/rational.h')
-rw-r--r--libavutil/rational.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/libavutil/rational.h b/libavutil/rational.h
index 474eaf7445..f53f278619 100644
--- a/libavutil/rational.h
+++ b/libavutil/rational.h
@@ -78,7 +78,7 @@ int av_reduce(int *dst_nom, int *dst_den, int64_t nom, int64_t den, int64_t max)
* @param c second rational.
* @return b*c.
*/
-AVRational av_mul_q(AVRational b, AVRational c) av_const;
+AVRational av_mul_q(AVRational b, AVRational c);
/**
* Divides one rational by another.
@@ -86,7 +86,7 @@ AVRational av_mul_q(AVRational b, AVRational c) av_const;
* @param c second rational.
* @return b/c.
*/
-AVRational av_div_q(AVRational b, AVRational c) av_const;
+AVRational av_div_q(AVRational b, AVRational c);
/**
* Adds two rationals.
@@ -94,7 +94,7 @@ AVRational av_div_q(AVRational b, AVRational c) av_const;
* @param c second rational.
* @return b+c.
*/
-AVRational av_add_q(AVRational b, AVRational c) av_const;
+AVRational av_add_q(AVRational b, AVRational c);
/**
* Subtracts one rational from another.
@@ -102,7 +102,7 @@ AVRational av_add_q(AVRational b, AVRational c) av_const;
* @param c second rational.
* @return b-c.
*/
-AVRational av_sub_q(AVRational b, AVRational c) av_const;
+AVRational av_sub_q(AVRational b, AVRational c);
/**
* Converts a double precision floating point number to a rational.
@@ -110,6 +110,6 @@ AVRational av_sub_q(AVRational b, AVRational c) av_const;
* @param max the maximum allowed numerator and denominator
* @return (AVRational) d.
*/
-AVRational av_d2q(double d, int max) av_const;
+AVRational av_d2q(double d, int max);
#endif /* FFMPEG_RATIONAL_H */