[−][src]Function ffmpeg_dev::sys::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.