Function avio_read_dir

Source
pub unsafe extern "C" fn avio_read_dir(
    s: *mut AVIODirContext,
    next: *mut *mut AVIODirEntry,
) -> i32
Expand description

Get next directory entry.

Returned entry must be freed with avio_free_directory_entry(). In particular it may outlive AVIODirContext.

@param s directory read context. @param[out] next next entry or NULL when no more entries. @return >=0 on success or negative on error. End of list is not considered an error.