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"

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

Define 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 flac_probe ( AVProbeData p  )  [static]

Definition at line 278 of file flacdec.c.

static int flac_read_header ( AVFormatContext s  )  [static]

Definition at line 156 of file flacdec.c.

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

Definition at line 33 of file flacdec.c.

Referenced by flac_read_header().

Variable Documentation

Initial value:

    .name           = "flac",
    .long_name      = NULL_IF_CONFIG_SMALL("raw FLAC"),
    .read_probe     = flac_probe,
    .read_header    = flac_read_header,
    .read_packet    = ff_raw_read_partial_packet,
    .flags          = AVFMT_GENERIC_INDEX,
    .extensions     = "flac",
    .raw_codec_id   = AV_CODEC_ID_FLAC,

Definition at line 287 of file flacdec.c.

Generated on Fri Oct 26 02:50:05 2012 for FFmpeg by  doxygen 1.5.8