libavformat/flacdec.c File Reference
#include "libavcodec/flac.h"
#include "avformat.h"
#include "id3v2.h"
#include "internal.h"
#include "rawdec.h"
#include "oggdec.h"
#include "vorbiscomment.h"
#include "libavcodec/bytestream.h"
Include dependency graph for libavformat/flacdec.c:

Go to the source code of this file.

Macros

#define RETURN_ERROR(code)   do { ret = (code); goto fail; } while (0)
 

Functions

static int parse_picture (AVFormatContext *s, uint8_t *buf, int buf_size)
 
static int flac_read_header (AVFormatContext *s)
 
static int flac_probe (AVProbeData *p)
 

Variables

AVInputFormat ff_flac_demuxer
 

Macro Definition Documentation

#define RETURN_ERROR (   code)    do { ret = (code); goto fail; } while (0)

Definition at line 31 of file libavformat/flacdec.c.

Referenced by flac_read_header(), and parse_picture().

Function Documentation

static int flac_probe ( AVProbeData p)
static

Definition at line 279 of file libavformat/flacdec.c.

static int flac_read_header ( AVFormatContext s)
static

Definition at line 157 of file libavformat/flacdec.c.

static int parse_picture ( AVFormatContext s,
uint8_t buf,
int  buf_size 
)
static

Definition at line 33 of file libavformat/flacdec.c.

Referenced by flac_read_header().

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,
.extensions = "flac",
.raw_codec_id = AV_CODEC_ID_FLAC,
}
int ff_raw_read_partial_packet(AVFormatContext *s, AVPacket *pkt)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static int flac_probe(AVProbeData *p)
static int flac_read_header(AVFormatContext *s)
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition: avformat.h:353

Definition at line 286 of file libavformat/flacdec.c.