FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
flacdec.c File Reference
#include "libavcodec/flac.h"
#include "avformat.h"
#include "flac_picture.h"
#include "internal.h"
#include "rawdec.h"
#include "oggdec.h"
#include "vorbiscomment.h"
#include "replaygain.h"

Go to the source code of this file.

Functions

static int flac_read_header (AVFormatContext *s)
 
static int raw_flac_probe (AVProbeData *p)
 
static int flac_probe (AVProbeData *p)
 
static av_unused int64_t flac_read_timestamp (AVFormatContext *s, int stream_index, int64_t *ppos, int64_t pos_limit)
 

Variables

AVInputFormat ff_flac_demuxer
 

Function Documentation

static int flac_read_header ( AVFormatContext s)
static

Definition at line 31 of file flacdec.c.

static int raw_flac_probe ( AVProbeData p)
static

Definition at line 179 of file flacdec.c.

Referenced by flac_probe().

static int flac_probe ( AVProbeData p)
static

Definition at line 195 of file flacdec.c.

static av_unused int64_t flac_read_timestamp ( AVFormatContext s,
int  stream_index,
int64_t *  ppos,
int64_t  pos_limit 
)
static

Definition at line 204 of file flacdec.c.

Variable Documentation

AVInputFormat ff_flac_demuxer
Initial value:
= {
.name = "flac",
.long_name = NULL_IF_CONFIG_SMALL("raw FLAC"),
.read_probe = flac_probe,
.read_header = flac_read_header,
.read_timestamp = flac_read_timestamp,
.extensions = "flac",
.raw_codec_id = AV_CODEC_ID_FLAC,
}
static av_unused int64_t flac_read_timestamp(AVFormatContext *s, int stream_index, int64_t *ppos, int64_t pos_limit)
Definition: flacdec.c:204
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:175
static int flac_probe(AVProbeData *p)
Definition: flacdec.c:195
static int flac_read_header(AVFormatContext *s)
Definition: flacdec.c:31
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition: avformat.h:473

Definition at line 252 of file flacdec.c.