Function rsmpeg::ffi::avio_open[][src]

pub unsafe extern "C" fn avio_open(
    s: *mut *mut AVIOContext,
    url: *const i8,
    flags: i32
) -> i32
Expand description

Create and initialize a AVIOContext for accessing the resource indicated by url. @note When the resource indicated by url has been opened in read+write mode, the AVIOContext can be used only for writing.

@param s Used to return the pointer to the created AVIOContext. In case of failure the pointed to value is set to NULL. @param url resource to access @param flags flags which control how the resource indicated by url is to be opened @return >= 0 in case of success, a negative value corresponding to an AVERROR code in case of failure