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
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