28 #define OGG_FLAC_METADATA_TYPE_STREAMINFO 0x7F
void * av_malloc(size_t size)
Allocate a block of size bytes with alignment suitable for all memory accesses (including vectors if ...
#define OGG_FLAC_METADATA_TYPE_STREAMINFO
Copyright (C) 2005 Michael Ahlberg, Måns Rullgård.
static unsigned int get_bits(GetBitContext *s, int n)
Read 1-25 bits.
static void skip_bits_long(GetBitContext *s, int n)
static int flac_header(AVFormatContext *s, int idx)
enum AVStreamParseType need_parsing
uint8_t * extradata
some codecs need / can use extradata like Huffman tables.
AVStream ** streams
A list of all streams in the file.
bitstream reader API header.
int ff_vorbis_comment(AVFormatContext *ms, AVDictionary **m, const uint8_t *buf, int size)
FLAC (Free Lossless Audio Codec) decoder/demuxer common functions.
void avpriv_flac_parse_streaminfo(AVCodecContext *avctx, struct FLACStreaminfo *s, const uint8_t *buffer)
Parse the Streaminfo metadata block.
const struct ogg_codec ff_flac_codec
AVCodecContext * codec
Codec context associated with this stream.
#define FF_INPUT_BUFFER_PADDING_SIZE
Required number of additionally allocated bytes at the end of the input bitstream for decoding...
static int old_flac_header(AVFormatContext *s, int idx)
struct ogg_stream * streams
#define FLAC_STREAMINFO_SIZE
enum AVMediaType codec_type
int sample_rate
samples per second
static void skip_bits1(GetBitContext *s)
static int init_get_bits(GetBitContext *s, const uint8_t *buffer, int bit_size)
Initialize GetBitContext.
static unsigned int get_bits_long(GetBitContext *s, int n)
Read 0-32 bits.
void * priv_data
Format private data.
const struct ogg_codec ff_old_flac_codec