Function av_dict_copy

Source
pub unsafe extern "C" fn av_dict_copy(
    dst: *mut *mut AVDictionary,
    src: *const AVDictionary,
    flags: i32,
) -> i32
Expand description

Copy entries from one AVDictionary struct into another.

@note Metadata is read using the ::AV_DICT_IGNORE_SUFFIX flag

@param dst Pointer to a pointer to a AVDictionary struct to copy into. If *dst is NULL, this function will allocate a struct for you and put it in *dst @param src Pointer to the source AVDictionary struct to copy items from. @param flags Flags to use when setting entries in *dst

@return 0 on success, negative AVERROR code on failure. If dst was allocated by this function, callers should free the associated memory.