libavformat/eacdata.c File Reference

Electronic Arts cdata Format Demuxer by Peter Ross (pross@xvid.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, AVFormatParameters *ap)
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@xvid.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,
AVFormatParameters ap 
) [static]

Definition at line 48 of file eacdata.c.

static int cdata_read_packet ( AVFormatContext s,
AVPacket pkt 
) [static]

Definition at line 82 of file eacdata.c.


Variable Documentation

Initial value:
 {
    .name           = "ea_cdata",
    .long_name      = NULL_IF_CONFIG_SMALL("Electronic Arts cdata"),
    .priv_data_size = sizeof(CdataDemuxContext),
    .read_probe     = cdata_probe,
    .read_header    = cdata_read_header,
    .read_packet    = cdata_read_packet,
    .extensions = "cdata",
}

Definition at line 94 of file eacdata.c.