Function rsmpeg::ffi::av_get_frame_filename2 [−][src]
pub unsafe extern "C" fn av_get_frame_filename2(
buf: *mut i8,
buf_size: i32,
path: *const i8,
number: i32,
flags: i32
) -> i32
Expand description
Return in ‘buf’ the path with ‘%d’ replaced by a number.
Also handles the ‘%0nd’ format where ‘n’ is the total number of digits and ‘%%’.
@param buf destination buffer @param buf_size destination buffer size @param path numbered sequence string @param number frame number @param flags AV_FRAME_FILENAME_FLAGS_* @return 0 if OK, -1 on format error