aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil
diff options
context:
space:
mode:
authorPanagiotis Issaris <takis.issaris@uhasselt.be>2007-03-04 23:10:38 +0000
committerPanagiotis Issaris <takis.issaris@uhasselt.be>2007-03-04 23:10:38 +0000
commit607da27c64805195eea51efa896bfad8b624c217 (patch)
tree41c4a2fdc92e28857853b7e007bb5fd5df1a1ab7 /libavutil
parent3ec9a7873f69dc9cb57d585bc83a879f8b05833d (diff)
downloadffmpeg-607da27c64805195eea51efa896bfad8b624c217.tar.gz
Move av_mod_i()'s comment to the header file. The moved comment is unmodified.
Originally committed as revision 8226 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/integer.c4
-rw-r--r--libavutil/integer.h5
2 files changed, 5 insertions, 4 deletions
diff --git a/libavutil/integer.c b/libavutil/integer.c
index 09cd756e24..1319615572 100644
--- a/libavutil/integer.c
+++ b/libavutil/integer.c
@@ -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;
diff --git a/libavutil/integer.h b/libavutil/integer.h
index a50ad9bae2..8278696299 100644
--- a/libavutil/integer.h
+++ b/libavutil/integer.h
@@ -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);