summaryrefslogtreecommitdiff
path: root/libavutil
diff options
context:
space:
mode:
authorPanagiotis Issaris <takis.issaris@uhasselt.be>2007-03-04 23:14:12 +0000
committerPanagiotis Issaris <takis.issaris@uhasselt.be>2007-03-04 23:14:12 +0000
commit9375cdd5ab5bdff1685d66c2b0f63220d82f2b89 (patch)
tree397c815a396743e17674e939ca40c516505eb3c2 /libavutil
parent607da27c64805195eea51efa896bfad8b624c217 (diff)
Move av_div_i()'s comments to the header file. The comments are unaltered.
Originally committed as revision 8227 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 1319615572..bc2f58d470 100644
--- a/libavutil/integer.c
+++ b/libavutil/integer.c
@@ -141,9 +141,6 @@ AVInteger av_mod_i(AVInteger *quot, AVInteger a, AVInteger b){
return a;
}
-/**
- * returns a/b.
- */
AVInteger av_div_i(AVInteger a, AVInteger b){
AVInteger quot;
av_mod_i(&quot, a, b);
diff --git a/libavutil/integer.h b/libavutil/integer.h
index 8278696299..1f15225516 100644
--- a/libavutil/integer.h
+++ b/libavutil/integer.h
@@ -47,6 +47,10 @@ AVInteger av_shr_i(AVInteger a, int s);
* @param quot a/b will be stored here
*/
AVInteger av_mod_i(AVInteger *quot, AVInteger a, AVInteger b);
+
+/**
+ * returns a/b.
+ */
AVInteger av_div_i(AVInteger a, AVInteger b);
AVInteger av_int2i(int64_t a);
int64_t av_i2int(AVInteger a);