Commit 4cd191b8 authored by takis's avatar takis

Move av_cmp_i()'s unaltered comment to the header file.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@8229 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent e74f643b
...@@ -84,9 +84,6 @@ AVInteger av_mul_i(AVInteger a, AVInteger b){ ...@@ -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); ...@@ -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);
/** /**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment