跳到主要内容

av_frame_clone

搜索

函数 av_frame_clone 

源代码
pub unsafe extern "C" fn av_frame_clone(
    src: *const AVFrame,
) -> *mut AVFrame
展开描述

Create a new frame that references the same data as src.

This is a shortcut for av_frame_alloc()+av_frame_ref().

@return newly created AVFrame on success, NULL on error.