Function av_dict_get_string

Source
pub unsafe extern "C" fn av_dict_get_string(
    m: *const AVDictionary,
    buffer: *mut *mut i8,
    key_val_sep: i8,
    pairs_sep: i8,
) -> i32
Expand description

Get dictionary entries as a string.

Create a string containing dictionary’s entries. Such string may be passed back to av_dict_parse_string(). @note String is escaped with backslashes (’').

@warning Separators cannot be neither ‘\’ nor ‘\0’. They also cannot be the same.

@param[in] m The dictionary @param[out] buffer Pointer to buffer that will be allocated with string containg entries. Buffer must be freed by the caller when is no longer needed. @param[in] key_val_sep Character used to separate key from value @param[in] pairs_sep Character used to separate two pairs from each other

@return >= 0 on success, negative on error