FFmpeg
Functions | Variables
ac4dec.c File Reference
#include "libavutil/avassert.h"
#include "libavutil/crc.h"
#include "avformat.h"
#include "demux.h"
#include "rawdec.h"

Go to the source code of this file.

Functions

static int ac4_probe (const AVProbeData *p)
 
static int ac4_read_header (AVFormatContext *s)
 
static int ac4_read_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

const FFInputFormat ff_ac4_demuxer
 

Function Documentation

◆ ac4_probe()

static int ac4_probe ( const AVProbeData p)
static

Definition at line 28 of file ac4dec.c.

◆ ac4_read_header()

static int ac4_read_header ( AVFormatContext s)
static

Definition at line 59 of file ac4dec.c.

◆ ac4_read_packet()

static int ac4_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 73 of file ac4dec.c.

Variable Documentation

◆ ff_ac4_demuxer

const FFInputFormat ff_ac4_demuxer
Initial value:
= {
.p.name = "ac4",
.p.long_name = NULL_IF_CONFIG_SMALL("raw AC-4"),
.p.flags = AVFMT_GENERIC_INDEX,
.p.extensions = "ac4",
.read_probe = ac4_probe,
.read_header = ac4_read_header,
.read_packet = ac4_read_packet,
}

Definition at line 99 of file ac4dec.c.

AVFMT_GENERIC_INDEX
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition: avformat.h:480
ac4_read_header
static int ac4_read_header(AVFormatContext *s)
Definition: ac4dec.c:59
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
ac4_probe
static int ac4_probe(const AVProbeData *p)
Definition: ac4dec.c:28
ac4_read_packet
static int ac4_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: ac4dec.c:73