mp4parse_avif_get_info

Function mp4parse_avif_get_info 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn mp4parse_avif_get_info( parser: *const Mp4parseAvifParser, avif_info: *mut Mp4parseAvifInfo, ) -> Mp4parseStatus
Expand description

Return a struct containing meta information read by previous mp4parse_avif_new() call.

color_track_idand alpha_track_id will be 0 if has_sequence is false. alpha_track_id will be 0 if no alpha aux track is present.

ยงSafety

This function is unsafe because it dereferences both the parser and avif_info raw pointers passed into it. Callers should ensure the parser pointer points to a valid Mp4parseAvifParser, and that the avif_info pointer points to a valid Mp4parseAvifInfo.