summaryrefslogtreecommitdiff
path: root/libavutil/rational.h
diff options
context:
space:
mode:
authorBenoit Fouet <benoit.fouet@free.fr>2008-03-18 16:29:47 +0000
committerBenoit Fouet <benoit.fouet@free.fr>2008-03-18 16:29:47 +0000
commit2119bb8f51d5cbf946d8e87974a2d95016133942 (patch)
treea4cfee50d5b37ab8020f1292b4041b4a26b857c9 /libavutil/rational.h
parent6544f48f038552973a552401cea5d4e8f1fc9c0a (diff)
revert r12489.
Originally committed as revision 12490 to svn://svn.ffmpeg.org/ffmpeg/trunk
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 */