FFmpeg
Data Structures | Macros | Functions | Variables
concat.c File Reference
#include "libavutil/avstring.h"
#include "libavutil/mem.h"
#include "avformat.h"
#include "url.h"

Go to the source code of this file.

Data Structures

struct  concat_nodes
 
struct  concat_data
 

Macros

#define AV_CAT_SEPARATOR   "|"
 

Functions

static av_cold int concat_close (URLContext *h)
 
static av_cold int concat_open (URLContext *h, const char *uri, int flags)
 
static int concat_read (URLContext *h, unsigned char *buf, int size)
 
static int64_t concat_seek (URLContext *h, int64_t pos, int whence)
 

Variables

const URLProtocol ff_concat_protocol
 

Macro Definition Documentation

#define AV_CAT_SEPARATOR   "|"

Definition at line 30 of file concat.c.

Referenced by concat_open().

Function Documentation

static av_cold int concat_close ( URLContext h)
static

Definition at line 44 of file concat.c.

Referenced by concat_open().

static av_cold int concat_open ( URLContext h,
const char *  uri,
int  flags 
)
static

Definition at line 59 of file concat.c.

static int concat_read ( URLContext h,
unsigned char *  buf,
int  size 
)
static

Definition at line 132 of file concat.c.

static int64_t concat_seek ( URLContext h,
int64_t  pos,
int  whence 
)
static

Definition at line 157 of file concat.c.

Variable Documentation

const URLProtocol ff_concat_protocol
Initial value:
= {
.name = "concat",
.url_open = concat_open,
.url_read = concat_read,
.url_seek = concat_seek,
.url_close = concat_close,
.priv_data_size = sizeof(struct concat_data),
.default_whitelist = "concat,file,subfile",
}
static av_cold int concat_close(URLContext *h)
Definition: concat.c:44
static int concat_read(URLContext *h, unsigned char *buf, int size)
Definition: concat.c:132
static int64_t concat_seek(URLContext *h, int64_t pos, int whence)
Definition: concat.c:157
static av_cold int concat_open(URLContext *h, const char *uri, int flags)
Definition: concat.c:59

Definition at line 195 of file concat.c.