FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
eacdata.c File Reference

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

#include "avformat.h"
#include "internal.h"

Go to the source code of this file.

Data Structures

struct  CdataDemuxContext
 

Functions

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

Variables

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

static int cdata_probe ( AVProbeData p)
static

Definition at line 39 of file eacdata.c.

static int cdata_read_header ( AVFormatContext s)
static

Definition at line 48 of file eacdata.c.

static int cdata_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 85 of file eacdata.c.

Variable Documentation

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",
}
static int cdata_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: eacdata.c:85
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:176
static int read_probe(AVProbeData *pd)
Definition: jvdec.c:55
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:514
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
Definition: avio_reading.c:42
static int cdata_probe(AVProbeData *p)
Definition: eacdata.c:39
static int cdata_read_header(AVFormatContext *s)
Definition: eacdata.c:48

Definition at line 97 of file eacdata.c.