[][src]Function ffmpeg_dev::sys::av_frame_move_ref

pub unsafe extern "C" fn av_frame_move_ref(dst: *mut AVFrame, src: *mut AVFrame)

Move everything contained in src to dst and reset src.

@warning: dst is not unreferenced, but directly overwritten without reading or deallocating its contents. Call av_frame_unref(dst) manually before calling this function to ensure that no memory is leaked.