Function ffmpeg_sys_the_third::av_find_nearest_q_idx
source · pub unsafe extern "C" fn av_find_nearest_q_idx(
q: AVRational,
q_list: *const AVRational
) -> c_int
Expand description
Find the value in a list of rationals nearest a given reference rational.
@param q Reference rational
@param q_list Array of rationals terminated by {0, 0}
@return Index of the nearest value found in the array