avrational compare code example Example: avrational compare int av_cmp_q(AVRational a, AVRational b); 0 if a == b 1 if a > b -1 if a < b