=====url_fopen=====
====Overview====
Defined in ''avio.h''\\
Open a file for input, and or output.
int url_fopen(ByteIOContext *s,
const char *filename,
int flags);
====Parameters====
===s===
ByteIOContext *s
The [[ffmpeg:ByteIOContext]] to attach the opened file.
===filename===
const char *filename
The filename to open.
===flags===
int flags
Open mode, must be one of the [[ffmpeg:url file flags]].
====Return value====
Sub zero upon failure.\\
FIXME Is it [[ffmpeg:AVERROR]]??
====See also====
[[ffmpeg:url_fclose()]]
----
Back to [[ffmpeg:ffmpeg]]