[Ffmpeg-cvslog] r8229 - in trunk/libavutil: integer.c integer.h
takis
subversion
Mon Mar 5 00:20:54 CET 2007
Author: takis
Date: Mon Mar 5 00:20:54 2007
New Revision: 8229
Modified:
trunk/libavutil/integer.c
trunk/libavutil/integer.h
Log:
Move av_cmp_i()'s unaltered comment to the header file.
Modified: trunk/libavutil/integer.c
==============================================================================
--- trunk/libavutil/integer.c (original)
+++ trunk/libavutil/integer.c Mon Mar 5 00:20:54 2007
@@ -84,9 +84,6 @@ AVInteger av_mul_i(AVInteger a, AVIntege
return out;
}
-/**
- * returns 0 if a==b, 1 if a>b and -1 if a<b.
- */
int av_cmp_i(AVInteger a, AVInteger b){
int i;
int v= (int16_t)a.v[AV_INTEGER_SIZE-1] - (int16_t)b.v[AV_INTEGER_SIZE-1];
Modified: trunk/libavutil/integer.h
==============================================================================
--- trunk/libavutil/integer.h (original)
+++ trunk/libavutil/integer.h Mon Mar 5 00:20:54 2007
@@ -39,6 +39,10 @@ AVInteger av_add_i(AVInteger a, AVIntege
AVInteger av_sub_i(AVInteger a, AVInteger b);
int av_log2_i(AVInteger a);
AVInteger av_mul_i(AVInteger a, AVInteger b);
+
+/**
+ * returns 0 if a==b, 1 if a>b and -1 if a<b.
+ */
int av_cmp_i(AVInteger a, AVInteger b);
/**
More information about the ffmpeg-cvslog
mailing list