Function libavif_sys::avifPeekCompatibleFileType[][src]

pub unsafe extern "C" fn avifPeekCompatibleFileType(
    input: *const avifROData
) -> avifBool

Returns AVIF_TRUE if input begins with a valid FileTypeBox (ftyp) that supports either the brand ‘avif’ or ‘avis’ (or both), without performing any allocations.