FFmpeg
Functions | Variables
pvfdec.c File Reference
#include "libavcodec/internal.h"
#include "avformat.h"
#include "demux.h"
#include "internal.h"
#include "pcm.h"

Go to the source code of this file.

Functions

static int pvf_probe (const AVProbeData *p)
 
static int pvf_read_header (AVFormatContext *s)
 

Variables

const FFInputFormat ff_pvf_demuxer
 

Function Documentation

◆ pvf_probe()

static int pvf_probe ( const AVProbeData p)
static

Definition at line 28 of file pvfdec.c.

◆ pvf_read_header()

static int pvf_read_header ( AVFormatContext s)
static

Definition at line 35 of file pvfdec.c.

Variable Documentation

◆ ff_pvf_demuxer

const FFInputFormat ff_pvf_demuxer
Initial value:
= {
.p.name = "pvf",
.p.long_name = NULL_IF_CONFIG_SMALL("PVF (Portable Voice Format)"),
.p.extensions = "pvf",
.p.flags = AVFMT_GENERIC_INDEX,
.read_probe = pvf_probe,
.read_header = pvf_read_header,
.read_packet = ff_pcm_read_packet,
.read_seek = ff_pcm_read_seek,
}

Definition at line 69 of file pvfdec.c.

AVFMT_GENERIC_INDEX
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition: avformat.h:480
pvf_read_header
static int pvf_read_header(AVFormatContext *s)
Definition: pvfdec.c:35
pvf_probe
static int pvf_probe(const AVProbeData *p)
Definition: pvfdec.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:94
ff_pcm_read_packet
int ff_pcm_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: pcm.c:57
ff_pcm_read_seek
int ff_pcm_read_seek(AVFormatContext *s, int stream_index, int64_t timestamp, int flags)
Definition: pcm.c:73