Function ffmpeg_sys_the_third::av_dict_parse_string

source ·
pub unsafe extern "C" fn av_dict_parse_string(
    pm: *mut *mut AVDictionary,
    str_: *const c_char,
    key_val_sep: *const c_char,
    pairs_sep: *const c_char,
    flags: c_int
) -> c_int
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