[][src]Function ffmpeg_dev::sys::av_frame_get_plane_buffer

pub unsafe extern "C" fn av_frame_get_plane_buffer(
    frame: *mut AVFrame,
    plane: c_int
) -> *mut AVBufferRef

Get the buffer reference a given data plane is stored in.

@param plane index of the data plane of interest in frame->extended_data.

@return the buffer reference that contains the plane or NULL if the input frame is not valid.