FFmpeg
Functions | Variables
shortendec.c File Reference
#include "avformat.h"
#include "demux.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 FFInputFormat ff_shorten_demuxer
 

Function Documentation

◆ shn_probe()

static int shn_probe ( const AVProbeData p)
static

Definition at line 29 of file shortendec.c.

Variable Documentation

◆ ff_shorten_demuxer

const FFInputFormat ff_shorten_demuxer
Initial value:
= {
.p.name = "shn",
.p.long_name = NULL_IF_CONFIG_SMALL("raw Shorten"),
.p.extensions = "shn",
.p.priv_class = &ff_raw_demuxer_class,
.read_probe = shn_probe,
.read_header = ff_raw_audio_read_header,
.raw_codec_id = AV_CODEC_ID_SHORTEN,
.priv_data_size = sizeof(FFRawDemuxerContext),
}

Definition at line 69 of file shortendec.c.

AVFMT_NO_BYTE_SEEK
#define AVFMT_NO_BYTE_SEEK
Format does not allow seeking by bytes.
Definition: avformat.h:487
AVFMT_NOTIMESTAMPS
#define AVFMT_NOTIMESTAMPS
Format does not need / have any timestamps.
Definition: avformat.h:479
AVFMT_NOBINSEARCH
#define AVFMT_NOBINSEARCH
Format does not allow to fall back on binary search via read_timestamp.
Definition: avformat.h:485
FFRawDemuxerContext
Definition: rawdec.h:37
ff_raw_read_partial_packet
int ff_raw_read_partial_packet(AVFormatContext *s, AVPacket *pkt)
Definition: rawdec.c:33
ff_raw_demuxer_class
const AVClass ff_raw_demuxer_class
Definition: rawdec.c:141
ff_raw_audio_read_header
int ff_raw_audio_read_header(AVFormatContext *s)
Definition: rawdec.c:54
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:29
AVFMT_NOGENSEARCH
#define AVFMT_NOGENSEARCH
Format does not allow to fall back on generic search.
Definition: avformat.h:486
AV_CODEC_ID_SHORTEN
@ AV_CODEC_ID_SHORTEN
Definition: codec_id.h:455