diff options
author | Panagiotis Issaris <takis.issaris@uhasselt.be> | 2007-03-04 23:20:54 +0000 |
---|---|---|
committer | Panagiotis Issaris <takis.issaris@uhasselt.be> | 2007-03-04 23:20:54 +0000 |
commit | fb7d4f7908469858acb0efaa6ce2cc08b06f1dc1 (patch) | |
tree | 52348992baa13faeae7c75d35c4558ecb559d24e /libavutil | |
parent | 886368e98983bea4558a7bfbab3c87cf21368442 (diff) | |
download | ffmpeg-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.c | 3 | ||||
-rw-r--r-- | libavutil/integer.h | 4 |
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); /** |