Function av_parse_video_size
pub unsafe extern "C" fn av_parse_video_size(
width_ptr: *mut i32,
height_ptr: *mut i32,
str_: *const i8,
) -> i32
Expand description
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