[][src]Function ffmpeg_sys_next::av_parse_video_size

pub unsafe extern "C" fn av_parse_video_size(
    width_ptr: *mut c_int,
    height_ptr: *mut c_int,
    str_: *const c_char
) -> c_int

Parse str and put in width_ptr and height_ptr the detected values.

@param[in,out] width_ptr pointer to the variable which will contain the detected width value @param[in,out] height_ptr pointer to the variable which will contain the detected height value @param[in] str the string to parse: it has to be a string in the format width x height or a valid video size abbreviation. @return >= 0 on success, a negative error code otherwise