FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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 43 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 58 of file concat.c.

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

Definition at line 129 of file concat.c.

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

Definition at line 153 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:43
static int concat_read(URLContext *h, unsigned char *buf, int size)
Definition: concat.c:129
static int64_t concat_seek(URLContext *h, int64_t pos, int whence)
Definition: concat.c:153
static av_cold int concat_open(URLContext *h, const char *uri, int flags)
Definition: concat.c:58

Definition at line 189 of file concat.c.