mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-26 01:02:33 +00:00
Move av_cmp_i()'s unaltered comment to the header file.
Originally committed as revision 8229 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
886368e989
commit
fb7d4f7908
@ -84,9 +84,6 @@ AVInteger av_mul_i(AVInteger a, AVInteger b){
|
|||||||
return out;
|
return out;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* returns 0 if a==b, 1 if a>b and -1 if a<b.
|
|
||||||
*/
|
|
||||||
int av_cmp_i(AVInteger a, AVInteger b){
|
int av_cmp_i(AVInteger a, AVInteger b){
|
||||||
int i;
|
int i;
|
||||||
int v= (int16_t)a.v[AV_INTEGER_SIZE-1] - (int16_t)b.v[AV_INTEGER_SIZE-1];
|
int v= (int16_t)a.v[AV_INTEGER_SIZE-1] - (int16_t)b.v[AV_INTEGER_SIZE-1];
|
||||||
|
@ -39,6 +39,10 @@ AVInteger av_add_i(AVInteger a, AVInteger b);
|
|||||||
AVInteger av_sub_i(AVInteger a, AVInteger b);
|
AVInteger av_sub_i(AVInteger a, AVInteger b);
|
||||||
int av_log2_i(AVInteger a);
|
int av_log2_i(AVInteger a);
|
||||||
AVInteger av_mul_i(AVInteger a, AVInteger b);
|
AVInteger av_mul_i(AVInteger a, AVInteger b);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* returns 0 if a==b, 1 if a>b and -1 if a<b.
|
||||||
|
*/
|
||||||
int av_cmp_i(AVInteger a, AVInteger b);
|
int av_cmp_i(AVInteger a, AVInteger b);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user