Function ffmpeg_sys_the_third::av_frame_move_ref

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

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.