FFmpeg
Functions | Variables
shortendec.c File Reference
#include "avformat.h"
#include "rawdec.h"
#include "libavcodec/golomb.h"

Go to the source code of this file.

Functions

static int shn_probe (const AVProbeData *p)
 

Variables

AVInputFormat ff_shorten_demuxer
 

Function Documentation

static int shn_probe ( const AVProbeData p)
static

Definition at line 28 of file shortendec.c.

Variable Documentation

AVInputFormat ff_shorten_demuxer
Initial value:
= {
.name = "shn",
.long_name = NULL_IF_CONFIG_SMALL("raw Shorten"),
.read_probe = shn_probe,
.read_header = ff_raw_audio_read_header,
.extensions = "shn",
.raw_codec_id = AV_CODEC_ID_SHORTEN,
.priv_data_size = sizeof(FFRawDemuxerContext),
.priv_class = &shorten_demuxer_class,
}
#define AVFMT_NOBINSEARCH
Format does not allow to fall back on binary search via read_timestamp.
Definition: avformat.h:473
int ff_raw_read_partial_packet(AVFormatContext *s, AVPacket *pkt)
Definition: rawdec.c:35
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
int ff_raw_audio_read_header(AVFormatContext *s)
Definition: rawdec.c:56
#define AVFMT_NOTIMESTAMPS
Format does not need / have any timestamps.
Definition: avformat.h:467
#define AVFMT_NOGENSEARCH
Format does not allow to fall back on generic search.
Definition: avformat.h:474
static int shn_probe(const AVProbeData *p)
Definition: shortendec.c:28
#define AVFMT_NO_BYTE_SEEK
Format does not allow seeking by bytes.
Definition: avformat.h:475

Definition at line 63 of file shortendec.c.