History

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

Originally committed as revision 8229 to svn://svn.ffmpeg.org/ffmpeg/trunk

Panagiotis Issaris committed 19 years ago

Commit fb7d4f71 parent 886368e2 files · +4 −3Browse files

Unified · Split

2 files
  1. libavutil/integer.c +0 −3
  2. libavutil/integer.h +4 −0
libavutil/integer.c+0−3
@@ -84,9 +84,6 @@ AVInteger av_mul_i(AVInteger a, AVInteger b){ · 83 unmodified lines
8484 return out;
8585 }
8686
87−/**
88− * returns 0 if a==b, 1 if a>b and -1 if a<b.
89− */
9087 int av_cmp_i(AVInteger a, AVInteger b){
9188 int i;
9289 int v= (int16_t)a.v[AV_INTEGER_SIZE-1] - (int16_t)b.v[AV_INTEGER_SIZE-1];
libavutil/integer.h+4−0
@@ -39,6 +39,10 @@ AVInteger av_add_i(AVInteger a, AVInteger b); · 38 unmodified lines
3939 AVInteger av_sub_i(AVInteger a, AVInteger b);
4040 int av_log2_i(AVInteger a);
4141 AVInteger av_mul_i(AVInteger a, AVInteger b);
42+
43+/**
44+ * returns 0 if a==b, 1 if a>b and -1 if a<b.
45+ */
4246 int av_cmp_i(AVInteger a, AVInteger b);
4347
4448 /**

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t