FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
pvfdec.c File Reference
#include "avformat.h"
#include "internal.h"
#include "pcm.h"

Go to the source code of this file.

Functions

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

Variables

AVInputFormat ff_pvf_demuxer
 

Function Documentation

static int pvf_probe ( AVProbeData p)
static

Definition at line 26 of file pvfdec.c.

static int pvf_read_header ( AVFormatContext s)
static

Definition at line 33 of file pvfdec.c.

Variable Documentation

AVInputFormat ff_pvf_demuxer
Initial value:
= {
.name = "pvf",
.long_name = NULL_IF_CONFIG_SMALL("PVF (Portable Voice Format)"),
.read_probe = pvf_probe,
.read_header = pvf_read_header,
.read_packet = ff_pcm_read_packet,
.read_seek = ff_pcm_read_seek,
.extensions = "pvf",
}
static int pvf_read_header(AVFormatContext *s)
Definition: pvfdec.c:33
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:175
static int pvf_probe(AVProbeData *p)
Definition: pvfdec.c:26
int ff_pcm_read_seek(AVFormatContext *s, int stream_index, int64_t timestamp, int flags)
Definition: pcm.c:45
int ff_pcm_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: pcm.c:29
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition: avformat.h:473

Definition at line 66 of file pvfdec.c.