Function ffmpeg_sys_the_third::av_escape
source · pub unsafe extern "C" fn av_escape(
dst: *mut *mut c_char,
src: *const c_char,
special_chars: *const c_char,
mode: AVEscapeMode,
flags: c_int
) -> c_int
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()