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

◆ AV_CAT_SEPARATOR

#define AV_CAT_SEPARATOR   "|"

Definition at line 30 of file concat.c.

Function Documentation

◆ concat_close()

static av_cold int concat_close ( URLContext h)
static

Definition at line 44 of file concat.c.

Referenced by concat_open().

◆ concat_open()

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

Definition at line 59 of file concat.c.

◆ concat_read()

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

Definition at line 128 of file concat.c.

◆ concat_seek()

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

Definition at line 153 of file concat.c.

Variable Documentation

◆ ff_concat_protocol

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",
}

Definition at line 191 of file concat.c.

concat_read
static int concat_read(URLContext *h, unsigned char *buf, int size)
Definition: concat.c:128
concat_open
static av_cold int concat_open(URLContext *h, const char *uri, int flags)
Definition: concat.c:59
concat_seek
static int64_t concat_seek(URLContext *h, int64_t pos, int whence)
Definition: concat.c:153
concat_data
Definition: concat.c:37
concat_close
static av_cold int concat_close(URLContext *h)
Definition: concat.c:44