[Ffmpeg-cvslog] r8226 - in trunk/libavutil: integer.c integer.h

takis subversion
Mon Mar 5 00:10:38 CET 2007


Author: takis
Date: Mon Mar  5 00:10:38 2007
New Revision: 8226

Modified:
   trunk/libavutil/integer.c
   trunk/libavutil/integer.h

Log:
Move av_mod_i() to the header file. The moved comment is unmodified.


Modified: trunk/libavutil/integer.c
==============================================================================
--- trunk/libavutil/integer.c	(original)
+++ trunk/libavutil/integer.c	Mon Mar  5 00:10:38 2007
@@ -117,10 +117,6 @@ AVInteger av_shr_i(AVInteger a, int s){
     return out;
 }
 
-/**
- * returns a % b.
- * @param quot a/b will be stored here
- */
 AVInteger av_mod_i(AVInteger *quot, AVInteger a, AVInteger b){
     int i= av_log2_i(a) - av_log2_i(b);
     AVInteger quot_temp;

Modified: trunk/libavutil/integer.h
==============================================================================
--- trunk/libavutil/integer.h	(original)
+++ trunk/libavutil/integer.h	Mon Mar  5 00:10:38 2007
@@ -41,6 +41,11 @@ int av_log2_i(AVInteger a);
 AVInteger av_mul_i(AVInteger a, AVInteger b);
 int av_cmp_i(AVInteger a, AVInteger b);
 AVInteger av_shr_i(AVInteger a, int s);
+
+/**
+ * returns a % b.
+ * @param quot a/b will be stored here
+ */
 AVInteger av_mod_i(AVInteger *quot, AVInteger a, AVInteger b);
 AVInteger av_div_i(AVInteger a, AVInteger b);
 AVInteger av_int2i(int64_t a);




More information about the ffmpeg-cvslog mailing list