Skip to content
Snippets Groups Projects
Commit 3a1429ec authored by Stefano Sabatini's avatar Stefano Sabatini
Browse files

Update av_cmp_q() documentation after r25338.

Originally committed as revision 25340 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 59a3bf0e
No related branches found
No related tags found
No related merge requests found
...@@ -44,7 +44,8 @@ typedef struct AVRational{ ...@@ -44,7 +44,8 @@ typedef struct AVRational{
* Compare two rationals. * Compare two rationals.
* @param a first rational * @param a first rational
* @param b second rational * @param b second rational
* @return 0 if a==b, 1 if a>b and -1 if a<b * @return 0 if a==b, 1 if a>b, -1 if a<b, and INT_MIN if one of the
* values is of the form 0/0
*/ */
static inline int av_cmp_q(AVRational a, AVRational b){ static inline int av_cmp_q(AVRational a, AVRational b){
const int64_t tmp= a.num * (int64_t)b.den - b.num * (int64_t)a.den; const int64_t tmp= a.num * (int64_t)b.den - b.num * (int64_t)a.den;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment