You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-11-23 21:54:53 +02:00
Move av_i2int()'s unaltered comments to the header file.
Originally committed as revision 8231 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -151,11 +151,6 @@ AVInteger av_int2i(int64_t a){
|
|||||||
return out;
|
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){
|
int64_t av_i2int(AVInteger a){
|
||||||
int i;
|
int i;
|
||||||
int64_t out=(int8_t)a.v[AV_INTEGER_SIZE-1];
|
int64_t out=(int8_t)a.v[AV_INTEGER_SIZE-1];
|
||||||
|
|||||||
@@ -66,6 +66,12 @@ AVInteger av_div_i(AVInteger a, AVInteger b);
|
|||||||
* converts the given int64_t to an AVInteger.
|
* converts the given int64_t to an AVInteger.
|
||||||
*/
|
*/
|
||||||
AVInteger av_int2i(int64_t a);
|
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);
|
int64_t av_i2int(AVInteger a);
|
||||||
|
|
||||||
#endif // INTEGER_H
|
#endif // INTEGER_H
|
||||||
|
|||||||
Reference in New Issue
Block a user