Function rsmpeg::ffi::av_dict_parse_string [−][src]
pub unsafe extern "C" fn av_dict_parse_string(
pm: *mut *mut AVDictionary,
str_: *const i8,
key_val_sep: *const i8,
pairs_sep: *const i8,
flags: i32
) -> i32
Expand description
Parse the key/value pairs list and add the parsed entries to a dictionary.
In case of failure, all the successfully set entries are stored in *pm. You may need to manually free the created dictionary.
@param key_val_sep a 0-terminated list of characters used to separate key from value @param pairs_sep a 0-terminated list of characters used to separate two pairs from each other @param flags flags to use when adding to dictionary. AV_DICT_DONT_STRDUP_KEY and AV_DICT_DONT_STRDUP_VAL are ignored since the key/value tokens will always be duplicated. @return 0 on success, negative AVERROR code on failure