Function rsmpeg::ffi::av_escape[][src]

pub unsafe extern "C" fn av_escape(
    dst: *mut *mut i8,
    src: *const i8,
    special_chars: *const i8,
    mode: u32,
    flags: i32
) -> i32
Expand description

Escape string in src, and put the escaped string in an allocated string in *dst, which must be freed with av_free().

@param dst pointer where an allocated string is put @param src string to escape, must be non-NULL @param special_chars string containing the special characters which need to be escaped, can be NULL @param mode escape mode to employ, see AV_ESCAPE_MODE_* macros. Any unknown value for mode will be considered equivalent to AV_ESCAPE_MODE_BACKSLASH, but this behaviour can change without notice. @param flags flags which control how to escape, see AV_ESCAPE_FLAG_ macros @return the length of the allocated string, or a negative error code in case of error @see av_bprint_escape()