FFmpeg
Functions | Variables
epafdec.c File Reference
#include "libavutil/intreadwrite.h"
#include "libavcodec/internal.h"
#include "avformat.h"
#include "internal.h"
#include "pcm.h"

Go to the source code of this file.

Functions

static int epaf_probe (const AVProbeData *p)
 
static int epaf_read_header (AVFormatContext *s)
 

Variables

const AVInputFormat ff_epaf_demuxer
 

Function Documentation

◆ epaf_probe()

static int epaf_probe ( const AVProbeData p)
static

Definition at line 28 of file epafdec.c.

◆ epaf_read_header()

static int epaf_read_header ( AVFormatContext s)
static

Definition at line 40 of file epafdec.c.

Variable Documentation

◆ ff_epaf_demuxer

const AVInputFormat ff_epaf_demuxer
Initial value:
= {
.name = "epaf",
.long_name = NULL_IF_CONFIG_SMALL("Ensoniq Paris Audio File"),
.read_probe = epaf_probe,
.read_header = epaf_read_header,
.read_packet = ff_pcm_read_packet,
.read_seek = ff_pcm_read_seek,
.extensions = "paf,fap",
}

Definition at line 96 of file epafdec.c.

AVFMT_GENERIC_INDEX
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition: avformat.h:469
epaf_read_header
static int epaf_read_header(AVFormatContext *s)
Definition: epafdec.c:40
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:117
epaf_probe
static int epaf_probe(const AVProbeData *p)
Definition: epafdec.c:28
ff_pcm_read_packet
int ff_pcm_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: pcm.c:29
ff_pcm_read_seek
int ff_pcm_read_seek(AVFormatContext *s, int stream_index, int64_t timestamp, int flags)
Definition: pcm.c:56