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

const AVInputFormat ff_shorten_demuxer
 

Function Documentation

◆ shn_probe()

static int shn_probe ( const AVProbeData p)
static

Definition at line 28 of file shortendec.c.

Variable Documentation

◆ ff_shorten_demuxer

const 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 = &ff_raw_demuxer_class,
}

Definition at line 68 of file shortendec.c.

AVFMT_NO_BYTE_SEEK
#define AVFMT_NO_BYTE_SEEK
Format does not allow seeking by bytes.
Definition: avformat.h:488
AVFMT_NOTIMESTAMPS
#define AVFMT_NOTIMESTAMPS
Format does not need / have any timestamps.
Definition: avformat.h:480
AVFMT_NOBINSEARCH
#define AVFMT_NOBINSEARCH
Format does not allow to fall back on binary search via read_timestamp.
Definition: avformat.h:486
FFRawDemuxerContext
Definition: rawdec.h:36
ff_raw_read_partial_packet
int ff_raw_read_partial_packet(AVFormatContext *s, AVPacket *pkt)
Definition: rawdec.c:32
ff_raw_demuxer_class
const AVClass ff_raw_demuxer_class
Definition: rawdec.c:140
ff_raw_audio_read_header
int ff_raw_audio_read_header(AVFormatContext *s)
Definition: rawdec.c:53
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:106
shn_probe
static int shn_probe(const AVProbeData *p)
Definition: shortendec.c:28
AVFMT_NOGENSEARCH
#define AVFMT_NOGENSEARCH
Format does not allow to fall back on generic search.
Definition: avformat.h:487
AV_CODEC_ID_SHORTEN
@ AV_CODEC_ID_SHORTEN
Definition: codec_id.h:457