FFmpeg
Functions | Variables
ac4dec.c File Reference
#include "libavutil/avassert.h"
#include "libavutil/crc.h"
#include "avformat.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 AVInputFormat ff_ac4_demuxer
 

Function Documentation

◆ ac4_probe()

static int ac4_probe ( const AVProbeData p)
static

Definition at line 27 of file ac4dec.c.

◆ ac4_read_header()

static int ac4_read_header ( AVFormatContext s)
static

Definition at line 56 of file ac4dec.c.

◆ ac4_read_packet()

static int ac4_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 70 of file ac4dec.c.

Variable Documentation

◆ ff_ac4_demuxer

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

Definition at line 96 of file ac4dec.c.

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