[FFmpeg-cvslog] r25340 - trunk/libavutil/rational.h

stefano subversion
Tue Oct 5 10:44:19 CEST 2010


Author: stefano
Date: Tue Oct  5 10:44:18 2010
New Revision: 25340

Log:
Update av_cmp_q() documentation after r25338.

Modified:
   trunk/libavutil/rational.h

Modified: trunk/libavutil/rational.h
==============================================================================
--- trunk/libavutil/rational.h	Tue Oct  5 03:43:34 2010	(r25339)
+++ trunk/libavutil/rational.h	Tue Oct  5 10:44:18 2010	(r25340)
@@ -44,7 +44,8 @@ typedef struct AVRational{
  * Compare two rationals.
  * @param a first 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){
     const int64_t tmp= a.num * (int64_t)b.den - b.num * (int64_t)a.den;



More information about the ffmpeg-cvslog mailing list