57 int frames_per_packet;
71 frames_per_packet =
AV_RL32(p + 64);
72 if (frames_per_packet)
92 for (i = 0; i < os->
nsegs; i++)
void * av_malloc(size_t size)
Allocate a block of size bytes with alignment suitable for all memory accesses (including vectors if ...
Copyright (C) 2005 Michael Ahlberg, Måns Rullgård.
static int ogg_page_packets(struct ogg_stream *os)
const struct ogg_codec ff_speex_codec
#define AV_CH_LAYOUT_STEREO
int final_packet_duration
uint8_t * extradata
some codecs need / can use extradata like Huffman tables.
bitstream reader API header.
int ff_vorbis_comment(AVFormatContext *ms, AVDictionary **m, const uint8_t *buf, int size)
void av_log(void *avcl, int level, const char *fmt,...)
uint64_t channel_layout
Audio channel layout.
AVCodecContext * codec
Codec context associated with this stream.
audio channel layout utility functions
struct ogg_stream * streams
enum AVMediaType codec_type
int sample_rate
samples per second
static int speex_packet(AVFormatContext *s, int idx)
static int speex_header(AVFormatContext *s, int idx)
#define FF_INPUT_BUFFER_PADDING_SIZE
#define AVERROR_INVALIDDATA
int channels
number of audio channels
void * priv_data
Format private data.
#define AV_CH_LAYOUT_MONO
void * av_mallocz(size_t size)
Allocate a block of size bytes with alignment suitable for all memory accesses (including vectors if ...