pub unsafe extern "C" fn aom_img_get_metadata(
    img: *const aom_image_t,
    index: usize
) -> *const aom_metadata_t
Expand description

Return a metadata payload stored within the image metadata array.

Gets the metadata (aom_metadata_t) at the indicated index in the image metadata array.

\param[in] img Pointer to image descriptor to get metadata from \param[in] index Metadata index to get from metadata array

\return Returns a const pointer to the selected metadata, if img and/or index is invalid, it returns NULL.