av_escape

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()

extern (C) @nogc nothrow
int
av_escape
(
char** dst
,
const(char)* src
,
const(char)* special_chars
,,
int flags
)

Meta