All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
teeproto.c File Reference
#include "libavutil/avstring.h"
#include "libavutil/opt.h"
#include "avformat.h"
#include "avio_internal.h"
#include "tee_common.h"

Go to the source code of this file.

Data Structures

struct  ChildContext
struct  TeeContext


static int tee_write (URLContext *h, const unsigned char *buf, int size)
static int tee_close (URLContext *h)
static int tee_open (URLContext *h, const char *filename, int flags)


static const AVOption tee_options []
static const AVClass tee_class
static const char *const child_delim = "|"
const URLProtocol ff_tee_protocol

Function Documentation

static int tee_write ( URLContext h,
const unsigned char *  buf,
int  size 

Definition at line 51 of file teeproto.c.

static int tee_close ( URLContext h)

Definition at line 65 of file teeproto.c.

Referenced by tee_open().

static int tee_open ( URLContext h,
const char *  filename,
int  flags 

Definition at line 82 of file teeproto.c.

Variable Documentation

const AVOption tee_options[]
Initial value:
= {
{ NULL }
#define NULL
Definition: coverity.c:32

Definition at line 38 of file teeproto.c.

const AVClass tee_class
Initial value:
= {
.class_name = "tee",
.item_name = av_default_item_name,
.option = tee_options,
Definition: version.h:86
static const AVOption tee_options[]
Definition: teeproto.c:38

Definition at line 42 of file teeproto.c.

const char* const child_delim = "|"

Definition at line 49 of file teeproto.c.

Referenced by tee_open().

const URLProtocol ff_tee_protocol
Initial value:
= {
.name = "tee",
.url_open = tee_open,
.url_write = tee_write,
.url_close = tee_close,
.priv_data_size = sizeof(TeeContext),
.priv_data_class = &tee_class,
.default_whitelist = "crypto,file,http,https,httpproxy,rtmp,tcp,tls"
static const AVClass tee_class
Definition: teeproto.c:42
static int tee_write(URLContext *h, const unsigned char *buf, int size)
Definition: teeproto.c:51
static int tee_close(URLContext *h)
Definition: teeproto.c:65
Definition: tee.c:52
static int tee_open(URLContext *h, const char *filename, int flags)
Definition: teeproto.c:82

Definition at line 139 of file teeproto.c.