FFmpeg  4.0
Functions | Variables
nistspheredec.c File Reference
#include "libavutil/avstring.h"
#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "internal.h"
#include "pcm.h"

Go to the source code of this file.

Functions

static int nist_probe (AVProbeData *p)
 
static int nist_read_header (AVFormatContext *s)
 

Variables

AVInputFormat ff_nistsphere_demuxer
 

Function Documentation

◆ nist_probe()

static int nist_probe ( AVProbeData p)
static

Definition at line 28 of file nistspheredec.c.

◆ nist_read_header()

static int nist_read_header ( AVFormatContext s)
static

Definition at line 35 of file nistspheredec.c.

Variable Documentation

◆ ff_nistsphere_demuxer

AVInputFormat ff_nistsphere_demuxer
Initial value:
= {
.name = "nistsphere",
.long_name = NULL_IF_CONFIG_SMALL("NIST SPeech HEader REsources"),
.read_probe = nist_probe,
.read_header = nist_read_header,
.read_packet = ff_pcm_read_packet,
.read_seek = ff_pcm_read_seek,
.extensions = "nist,sph",
}
static int nist_read_header(AVFormatContext *s)
Definition: nistspheredec.c:35
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
static int nist_probe(AVProbeData *p)
Definition: nistspheredec.c:28
int ff_pcm_read_seek(AVFormatContext *s, int stream_index, int64_t timestamp, int flags)
Definition: pcm.c:52
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:470

Definition at line 129 of file nistspheredec.c.