FFmpeg  4.0
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 (AVProbeData *p)
 

Variables

AVInputFormat ff_shorten_demuxer
 

Function Documentation

◆ shn_probe()

static int shn_probe ( AVProbeData p)
static

Definition at line 28 of file shortendec.c.

Variable Documentation

◆ ff_shorten_demuxer

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,
}
#define AVFMT_NOBINSEARCH
Format does not allow to fall back on binary search via read_timestamp.
Definition: avformat.h:475
static int shn_probe(AVProbeData *p)
Definition: shortendec.c:28
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:55
#define AVFMT_NOTIMESTAMPS
Format does not need / have any timestamps.
Definition: avformat.h:469
#define AVFMT_NOGENSEARCH
Format does not allow to fall back on generic search.
Definition: avformat.h:476
#define AVFMT_NO_BYTE_SEEK
Format does not allow seeking by bytes.
Definition: avformat.h:477

Definition at line 62 of file shortendec.c.