# HG changeset patch # User takis # Date 1173050761 0 # Node ID 0df0d9771d02d4500f52b0344796cb5d0fb6a748 # Parent 14164ec1b4543f4b0a14921ec3453ecdc371e904 Move av_i2int()'s unaltered comments to the header file. diff -r 14164ec1b454 -r 0df0d9771d02 integer.c --- 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]; diff -r 14164ec1b454 -r 0df0d9771d02 integer.h --- 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