FFmpeg
Functions | Variables
soxdec.c File Reference
#include "libavutil/intreadwrite.h"
#include "libavutil/intfloat.h"
#include "libavutil/dict.h"
#include "libavutil/mem.h"
#include "avformat.h"
#include "demux.h"
#include "internal.h"
#include "pcm.h"
#include "sox.h"

Go to the source code of this file.

Functions

static int sox_probe (const AVProbeData *p)
 
static int sox_read_header (AVFormatContext *s)
 

Variables

const FFInputFormat ff_sox_demuxer
 

Detailed Description

SoX native format demuxer

Author
Daniel Verkamp
See also
http://wiki.multimedia.cx/index.php?title=SoX_native_intermediate_format

Definition in file soxdec.c.

Function Documentation

◆ sox_probe()

static int sox_probe ( const AVProbeData p)
static

Definition at line 42 of file soxdec.c.

◆ sox_read_header()

static int sox_read_header ( AVFormatContext s)
static

Definition at line 53 of file soxdec.c.

Variable Documentation

◆ ff_sox_demuxer

const FFInputFormat ff_sox_demuxer
Initial value:
= {
.p.name = "sox",
.p.long_name = NULL_IF_CONFIG_SMALL("SoX (Sound eXchange) native"),
.read_probe = sox_probe,
.read_header = sox_read_header,
.read_packet = ff_pcm_read_packet,
.read_seek = ff_pcm_read_seek,
}

Definition at line 136 of file soxdec.c.

sox_probe
static int sox_probe(const AVProbeData *p)
Definition: soxdec.c:42
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
sox_read_header
static int sox_read_header(AVFormatContext *s)
Definition: soxdec.c:53
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