跳到主要内容

avio_read_dir

搜索

函数 avio_read_dir 

源代码
pub unsafe extern "C" fn avio_read_dir(
    s: *mut AVIODirContext,
    next: *mut *mut AVIODirEntry,
) -> c_int
展开描述

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.