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:483
AVFMT_NOTIMESTAMPS
#define AVFMT_NOTIMESTAMPS
Format does not need / have any timestamps.
Definition: avformat.h:475
AVFMT_NOBINSEARCH
#define AVFMT_NOBINSEARCH
Format does not allow to fall back on binary search via read_timestamp.
Definition: avformat.h:481
FFRawDemuxerContext
Definition: rawdec.h:36
ff_raw_read_partial_packet
int ff_raw_read_partial_packet(AVFormatContext *s, AVPacket *pkt)
Definition: rawdec.c:34
ff_raw_demuxer_class
const AVClass ff_raw_demuxer_class
Definition: rawdec.c:142
ff_raw_audio_read_header
int ff_raw_audio_read_header(AVFormatContext *s)
Definition: rawdec.c:55
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:117
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:482
AV_CODEC_ID_SHORTEN
@ AV_CODEC_ID_SHORTEN
Definition: codec_id.h:438