soxdec.c File Reference

SoX native format demuxer. More...

#include "libavutil/intreadwrite.h"
#include "libavutil/intfloat.h"
#include "libavutil/dict.h"
#include "avformat.h"
#include "internal.h"
#include "pcm.h"
#include "sox.h"

Go to the source code of this file.

Macros

#define SOX_SAMPLES   1024

Functions

static int sox_probe (AVProbeData *p)
static int sox_read_header (AVFormatContext *s, AVFormatParameters *ap)
static int sox_read_packet (AVFormatContext *s, AVPacket *pkt)

Variables

AVInputFormat 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.

Macro Definition Documentation

#define SOX_SAMPLES   1024

Definition at line 126 of file soxdec.c.

Referenced by sox_read_packet().

Function Documentation

static int sox_probe ( AVProbeData p)
static

Definition at line 40 of file soxdec.c.

static int sox_read_header ( AVFormatContext s,
AVFormatParameters ap 
)
static

Definition at line 47 of file soxdec.c.

static int sox_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 128 of file soxdec.c.

Variable Documentation

AVInputFormat ff_sox_demuxer
Initial value:
{
.name = "sox",
.long_name = NULL_IF_CONFIG_SMALL("SoX native format"),
.read_probe = sox_probe,
.read_header = sox_read_header,
.read_packet = sox_read_packet,
.read_seek = pcm_read_seek,
}

Definition at line 146 of file soxdec.c.