Defined in avio.h
Open a file for input, and or output.
int url_fopen(ByteIOContext *s, const char *filename, int flags);
ByteIOContext *s
The ByteIOContext to attach the opened file.
const char *filename
The filename to open.
int flags
Open mode, must be one of the url file flags.
Sub zero upon failure.
Is it AVERROR??