FFmpeg  4.0
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.

Referenced by concat_open().

Function Documentation

◆ concat_close()

static av_cold int concat_close ( URLContext h)
static

Definition at line 43 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 58 of file concat.c.

◆ concat_read()

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

Definition at line 129 of file concat.c.

◆ concat_seek()

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

Definition at line 154 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",
}
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:154
static av_cold int concat_open(URLContext *h, const char *uri, int flags)
Definition: concat.c:58

Definition at line 190 of file concat.c.