All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
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"

Go to the source code of this file.


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


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)


AVInputFormat ff_flac_demuxer

Macro Definition Documentation

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

Definition at line 31 of file flacdec.c.

Referenced by flac_read_header(), and parse_picture().

Function Documentation

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

Definition at line 33 of file flacdec.c.

Referenced by flac_read_header().

static int flac_read_header ( AVFormatContext s)

Definition at line 156 of file flacdec.c.

static int flac_probe ( AVProbeData p)

Definition at line 278 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,
.extensions = "flac",
.raw_codec_id = AV_CODEC_ID_FLAC,

Definition at line 287 of file flacdec.c.