Function ffmpeg_sys_the_third::avio_open
source · pub unsafe extern "C" fn avio_open(
s: *mut *mut AVIOContext,
url: *const c_char,
flags: c_int
) -> c_int
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