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:
Panagiotis Issaris 2007-03-04 23:20:54 +00:00
parent 886368e989
commit fb7d4f7908
2 changed files with 4 additions and 3 deletions

View File

@ -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];

View File

@ -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);
/** /**