FFmpeg
Data Structures | Functions | Variables
mca.c File Reference
#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "avio_internal.h"
#include "demux.h"
#include "internal.h"

Go to the source code of this file.

Data Structures

struct  MCADemuxContext
 

Functions

static int probe (const AVProbeData *p)
 
static int read_header (AVFormatContext *s)
 
static int read_packet (AVFormatContext *s, AVPacket *pkt)
 
static int read_seek (AVFormatContext *s, int stream_index, int64_t timestamp, int flags)
 

Variables

const FFInputFormat ff_mca_demuxer
 

Function Documentation

◆ probe()

static int probe ( const AVProbeData p)
static

Definition at line 36 of file mca.c.

◆ read_header()

static int read_header ( AVFormatContext s)
static

Definition at line 44 of file mca.c.

◆ read_packet()

static int read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 177 of file mca.c.

◆ read_seek()

static int read_seek ( AVFormatContext s,
int  stream_index,
int64_t  timestamp,
int  flags 
)
static

Definition at line 199 of file mca.c.

Variable Documentation

◆ ff_mca_demuxer

const FFInputFormat ff_mca_demuxer
Initial value:
= {
.p.name = "mca",
.p.long_name = NULL_IF_CONFIG_SMALL("MCA Audio Format"),
.p.extensions = "mca",
.priv_data_size = sizeof(MCADemuxContext),
}

Definition at line 221 of file mca.c.

probe
static int probe(const AVProbeData *p)
Definition: mca.c:36
read_header
static int read_header(AVFormatContext *s)
Definition: mca.c:44
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:94
read_packet
static int read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: mca.c:177
read_probe
static int read_probe(const AVProbeData *p)
Definition: cdg.c:30
read_seek
static int read_seek(AVFormatContext *s, int stream_index, int64_t timestamp, int flags)
Definition: mca.c:199
MCADemuxContext
Definition: mca.c:28