aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil
diff options
context:
space:
mode:
authorPanagiotis Issaris <takis.issaris@uhasselt.be>2007-03-04 23:20:54 +0000
committerPanagiotis Issaris <takis.issaris@uhasselt.be>2007-03-04 23:20:54 +0000
commitfb7d4f7908469858acb0efaa6ce2cc08b06f1dc1 (patch)
tree52348992baa13faeae7c75d35c4558ecb559d24e /libavutil
parent886368e98983bea4558a7bfbab3c87cf21368442 (diff)
downloadffmpeg-fb7d4f7908469858acb0efaa6ce2cc08b06f1dc1.tar.gz
Move av_cmp_i()'s unaltered comment to the header file.
Originally committed as revision 8229 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/integer.c3
-rw-r--r--libavutil/integer.h4
2 files changed, 4 insertions, 3 deletions
diff --git a/libavutil/integer.c b/libavutil/integer.c
index 471aed765c..a47f8e272d 100644
--- a/libavutil/integer.c
+++ b/libavutil/integer.c
@@ -84,9 +84,6 @@ AVInteger av_mul_i(AVInteger a, AVInteger b){
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];
diff --git a/libavutil/integer.h b/libavutil/integer.h
index c7b84c36a9..ce351fc650 100644
--- a/libavutil/integer.h
+++ b/libavutil/integer.h
@@ -39,6 +39,10 @@ AVInteger av_add_i(AVInteger a, AVInteger b);
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);
/**