## Revision 6544f48f libavutil/rational.h

View differences:

libavutil/rational.h
78 78
``` * @param c second rational.
```
79 79
``` * @return b*c.
```
80 80
``` */
```
81
```AVRational av_mul_q(AVRational b, AVRational c);
```
81
```AVRational av_mul_q(AVRational b, AVRational c) av_const;
```
82 82

83 83
```/**
```
84 84
``` * Divides one rational by another.
```
......
86 86
``` * @param c second rational.
```
87 87
``` * @return b/c.
```
88 88
``` */
```
89
```AVRational av_div_q(AVRational b, AVRational c);
```
89
```AVRational av_div_q(AVRational b, AVRational c) av_const;
```
90 90

91 91
```/**
```
92 92
``` * Adds two rationals.
```
......
94 94
``` * @param c second rational.
```
95 95
``` * @return b+c.
```
96 96
``` */
```
97
```AVRational av_add_q(AVRational b, AVRational c);
```
97
```AVRational av_add_q(AVRational b, AVRational c) av_const;
```
98 98

99 99
```/**
```
100 100
``` * Subtracts one rational from another.
```
......
102 102
``` * @param c second rational.
```
103 103
``` * @return b-c.
```
104 104
``` */
```
105
```AVRational av_sub_q(AVRational b, AVRational c);
```
105
```AVRational av_sub_q(AVRational b, AVRational c) av_const;
```
106 106

107 107
```/**
```
108 108
``` * Converts a double precision floating point number to a rational.
```
......
110 110
``` * @param max the maximum allowed numerator and denominator
```
111 111
``` * @return (AVRational) d.
```
112 112
``` */
```
113
```AVRational av_d2q(double d, int max);
```
113
```AVRational av_d2q(double d, int max) av_const;
```
114 114

115 115
```#endif /* FFMPEG_RATIONAL_H */
```

Also available in: Unified diff