Function ffurl_alloc

Source
pub unsafe extern "C" fn ffurl_alloc(
    puc: *mut *mut URLContext,
    filename: *const c_char,
    flags: c_int,
    int_cb: *const AVIOInterruptCB,
) -> c_int
Expand description

Create a URLContext for accessing to the resource indicated by url, but do not initiate the connection yet.

@param puc pointer to the location where, in case of success, the function puts the pointer to the created URLContext @param flags flags which control how the resource indicated by url is to be opened @param int_cb interrupt callback to use for the URLContext, may be NULL @return >= 0 in case of success, a negative value corresponding to an AVERROR code in case of failure