FFmpeg
Functions | Variables
apac.c File Reference
#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "demux.h"
#include "internal.h"
#include "rawdec.h"

Go to the source code of this file.

Functions

static int apac_probe (const AVProbeData *p)
 
static int apac_read_header (AVFormatContext *s)
 

Variables

const AVInputFormat ff_apac_demuxer
 

Function Documentation

◆ apac_probe()

static int apac_probe ( const AVProbeData p)
static

Definition at line 28 of file apac.c.

◆ apac_read_header()

static int apac_read_header ( AVFormatContext s)
static

Definition at line 38 of file apac.c.

Variable Documentation

◆ ff_apac_demuxer

const AVInputFormat ff_apac_demuxer
Initial value:
= {
.name = "apac",
.long_name = NULL_IF_CONFIG_SMALL("raw APAC"),
.read_probe = apac_probe,
.read_header = apac_read_header,
.extensions = "apc",
.raw_codec_id = AV_CODEC_ID_APAC,
.priv_data_size = sizeof(FFRawDemuxerContext),
.priv_class = &ff_raw_demuxer_class,
}

Definition at line 75 of file apac.c.

AV_CODEC_ID_APAC
@ AV_CODEC_ID_APAC
Definition: codec_id.h:541
AVFMT_NO_BYTE_SEEK
#define AVFMT_NO_BYTE_SEEK
Format does not allow seeking by bytes.
Definition: avformat.h:488
AVFMT_NOTIMESTAMPS
#define AVFMT_NOTIMESTAMPS
Format does not need / have any timestamps.
Definition: avformat.h:480
AVFMT_NOBINSEARCH
#define AVFMT_NOBINSEARCH
Format does not allow to fall back on binary search via read_timestamp.
Definition: avformat.h:486
FFRawDemuxerContext
Definition: rawdec.h:36
apac_read_header
static int apac_read_header(AVFormatContext *s)
Definition: apac.c:38
ff_raw_read_partial_packet
int ff_raw_read_partial_packet(AVFormatContext *s, AVPacket *pkt)
Definition: rawdec.c:32
ff_raw_demuxer_class
const AVClass ff_raw_demuxer_class
Definition: rawdec.c:140
apac_probe
static int apac_probe(const AVProbeData *p)
Definition: apac.c:28
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
AVFMT_NOGENSEARCH
#define AVFMT_NOGENSEARCH
Format does not allow to fall back on generic search.
Definition: avformat.h:487