avrational compare 1

avrational compare

int av_cmp_q(AVRational a, AVRational b);

0 if a == b
1 if a > b
-1 if a < b

Here is what the above code is Doing:
1. It's creating a new AVRational structure called a.
2. It's creating a new AVRational structure called b.
3. It's comparing the two structures.

Similar Posts