FFmpeg
Data Structures | Functions | Variables
eacdata.c File Reference
#include "libavutil/channel_layout.h"
#include "avformat.h"
#include "internal.h"

Go to the source code of this file.

Data Structures

struct  CdataDemuxContext
 

Functions

static int cdata_probe (const AVProbeData *p)
 
static int cdata_read_header (AVFormatContext *s)
 
static int cdata_read_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

const AVInputFormat ff_ea_cdata_demuxer
 

Detailed Description

Electronic Arts cdata Format Demuxer by Peter Ross (pross.nosp@m.@xvi.nosp@m.d.org)

Technical details here: http://wiki.multimedia.cx/index.php?title=EA_Command_And_Conquer_3_Audio_Codec

Definition in file eacdata.c.

Function Documentation

◆ cdata_probe()

static int cdata_probe ( const AVProbeData p)
static

Definition at line 42 of file eacdata.c.

◆ cdata_read_header()

static int cdata_read_header ( AVFormatContext s)
static

Definition at line 51 of file eacdata.c.

◆ cdata_read_packet()

static int cdata_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 94 of file eacdata.c.

Variable Documentation

◆ ff_ea_cdata_demuxer

const AVInputFormat ff_ea_cdata_demuxer
Initial value:
= {
.name = "ea_cdata",
.long_name = NULL_IF_CONFIG_SMALL("Electronic Arts cdata"),
.priv_data_size = sizeof(CdataDemuxContext),
.extensions = "cdata",
}

Definition at line 106 of file eacdata.c.

cdata_read_header
static int cdata_read_header(AVFormatContext *s)
Definition: eacdata.c:51
cdata_probe
static int cdata_probe(const AVProbeData *p)
Definition: eacdata.c:42
read_packet
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
Definition: avio_read_callback.c:41
read_header
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:545
NULL_IF_CONFIG_SMALL
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
Definition: internal.h:115
CdataDemuxContext
Definition: eacdata.c:37
read_probe
static int read_probe(const AVProbeData *p)
Definition: cdg.c:29
cdata_read_packet
static int cdata_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: eacdata.c:94