FFmpeg
Data Structures | Functions | Variables
eacdata.c File Reference
#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 39 of file eacdata.c.

◆ cdata_read_header()

static int cdata_read_header ( AVFormatContext s)
static

Definition at line 48 of file eacdata.c.

◆ cdata_read_packet()

static int cdata_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 85 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 97 of file eacdata.c.

cdata_read_header
static int cdata_read_header(AVFormatContext *s)
Definition: eacdata.c:48
cdata_probe
static int cdata_probe(const AVProbeData *p)
Definition: eacdata.c:39
read_header
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:527
read_probe
static int read_probe(const AVProbeData *pd)
Definition: jvdec.c:55
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:117
CdataDemuxContext
Definition: eacdata.c:34
read_packet
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
Definition: avio_reading.c:42
cdata_read_packet
static int cdata_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: eacdata.c:85