[SCM] libav/experimental: Update av_cmp_q() documentation after r25338.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 17:16:58 UTC 2013


The following commit has been merged in the experimental branch:
commit 3a1429ec3cea15cfc82ab1b9edab95c8016c06ba
Author: Stefano Sabatini <stefano.sabatini-lala at poste.it>
Date:   Tue Oct 5 08:44:18 2010 +0000

    Update av_cmp_q() documentation after r25338.
    
    Originally committed as revision 25340 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavutil/rational.h b/libavutil/rational.h
index 15df06f..789e4ac 100644
--- a/libavutil/rational.h
+++ b/libavutil/rational.h
@@ -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;

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list