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

Go to the source code of this file.

Functions

static int nsp_probe (const AVProbeData *p)
 
static int nsp_read_header (AVFormatContext *s)
 

Variables

const FFInputFormat ff_nsp_demuxer
 

Function Documentation

◆ nsp_probe()

static int nsp_probe ( const AVProbeData p)
static

Definition at line 29 of file nspdec.c.

◆ nsp_read_header()

static int nsp_read_header ( AVFormatContext s)
static

Definition at line 37 of file nspdec.c.

Variable Documentation

◆ ff_nsp_demuxer

const FFInputFormat ff_nsp_demuxer
Initial value:
= {
.p.name = "nsp",
.p.long_name = NULL_IF_CONFIG_SMALL("Computerized Speech Lab NSP"),
.p.extensions = "nsp",
.p.flags = AVFMT_GENERIC_INDEX,
.read_probe = nsp_probe,
.read_header = nsp_read_header,
.read_packet = ff_pcm_read_packet,
.read_seek = ff_pcm_read_seek,
}

Definition at line 100 of file nspdec.c.

AVFMT_GENERIC_INDEX
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition: avformat.h:480
nsp_probe
static int nsp_probe(const AVProbeData *p)
Definition: nspdec.c:29
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
nsp_read_header
static int nsp_read_header(AVFormatContext *s)
Definition: nspdec.c:37
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