Function rsmpeg::ffi::av_opt_copy[][src]

pub unsafe extern "C" fn av_opt_copy(
    dest: *mut c_void,
    src: *const c_void
) -> i32
Expand description

Copy options from src object into dest object.

Options that require memory allocation (e.g. string or binary) are malloc’ed in dest object. Original memory allocated for such options is freed unless both src and dest options points to the same memory.

@param dest Object to copy from @param src Object to copy into @return 0 on success, negative on error