Function av_dict_get

Source
pub unsafe extern "C" fn av_dict_get(
    m: *const AVDictionary,
    key: *const i8,
    prev: *const AVDictionaryEntry,
    flags: i32,
) -> *mut AVDictionaryEntry
Expand description

Get a dictionary entry with matching key.

The returned entry key or value must not be changed, or it will cause undefined behavior.

@param prev Set to the previous matching element to find the next. If set to NULL the first matching element is returned. @param key Matching key @param flags A collection of AV_DICT_* flags controlling how the entry is retrieved

@return Found entry or NULL in case no matching entry was found in the dictionary