Mercurial > libavutil.hg
changeset 276:0df0d9771d02 libavutil
Move av_i2int()'s unaltered comments to the header file.
author | takis |
---|---|
date | Sun, 04 Mar 2007 23:26:01 +0000 |
parents | 14164ec1b454 |
children | d25ab70c93c4 |
files | integer.c integer.h |
diffstat | 2 files changed, 6 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/integer.c Sun Mar 04 23:25:00 2007 +0000 +++ b/integer.c Sun Mar 04 23:26:01 2007 +0000 @@ -151,11 +151,6 @@ 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];
--- a/integer.h Sun Mar 04 23:25:00 2007 +0000 +++ b/integer.h Sun Mar 04 23:26:01 2007 +0000 @@ -66,6 +66,12 @@ * 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