aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPanagiotis Issaris <takis.issaris@uhasselt.be>2007-03-04 23:26:01 +0000
committerPanagiotis Issaris <takis.issaris@uhasselt.be>2007-03-04 23:26:01 +0000
commit37b2f1d07354e7871cf720aceaf8fdfae9d66573 (patch)
tree65d20770030e289d7c1ac7eca50f8d291b49294a
parentc1f567875aa5057a63f9f240f6028be45cdc2da6 (diff)
downloadffmpeg-37b2f1d07354e7871cf720aceaf8fdfae9d66573.tar.gz
Move av_i2int()'s unaltered comments to the header file.
Originally committed as revision 8231 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavutil/integer.c5
-rw-r--r--libavutil/integer.h6
2 files changed, 6 insertions, 5 deletions
diff --git a/libavutil/integer.c b/libavutil/integer.c
index 837bee7583..bed5069a9d 100644
--- a/libavutil/integer.c
+++ b/libavutil/integer.c
@@ -151,11 +151,6 @@ AVInteger av_int2i(int64_t a){
return out;
}
-/**
- * converts the given AVInteger to an int64_t.
- * if the AVInteger is too large to fit into an int64_t,
- * then only the least significant 64bit will be used
- */
int64_t av_i2int(AVInteger a){
int i;
int64_t out=(int8_t)a.v[AV_INTEGER_SIZE-1];
diff --git a/libavutil/integer.h b/libavutil/integer.h
index e39e02674e..6680e79ac3 100644
--- a/libavutil/integer.h
+++ b/libavutil/integer.h
@@ -66,6 +66,12 @@ AVInteger av_div_i(AVInteger a, AVInteger b);
* converts the given int64_t to an AVInteger.
*/
AVInteger av_int2i(int64_t a);
+
+/**
+ * converts the given AVInteger to an int64_t.
+ * if the AVInteger is too large to fit into an int64_t,
+ * then only the least significant 64bit will be used
+ */
int64_t av_i2int(AVInteger a);
#endif // INTEGER_H