Table of Contents

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 ByteIOContext to attach the opened file.

filename

const char *filename

The filename to open.

flags

int flags

Open mode, must be one of the url file flags.

Return value

Sub zero upon failure.
FIXME Is it AVERROR??

See also

url_fclose()


Back to ffmpeg