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
84 return out;84 return out;
85}85}
86 86
87/**
88 * returns 0 if a==b, 1 if a>b and -1 if a<b.
89 */
90int av_cmp_i(AVInteger a, AVInteger b){87int av_cmp_i(AVInteger a, AVInteger b){
91 int i;88 int i;
92 int v= (int16_t)a.v[AV_INTEGER_SIZE-1] - (int16_t)b.v[AV_INTEGER_SIZE-1];89 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
39AVInteger av_sub_i(AVInteger a, AVInteger b);39AVInteger av_sub_i(AVInteger a, AVInteger b);
40int av_log2_i(AVInteger a);40int av_log2_i(AVInteger a);
41AVInteger av_mul_i(AVInteger a, AVInteger b);41AVInteger 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 */
42int av_cmp_i(AVInteger a, AVInteger b);46int av_cmp_i(AVInteger a, AVInteger b);
43 47
44/**48/**

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