59 int frames_per_packet;
78 frames_per_packet =
AV_RL32(p + 64);
79 if (frames_per_packet)
98 for (i = 0; i < os->
nsegs; i++)
#define AVERROR_INVALIDDATA
Invalid data found when processing input.
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.
AVStream ** streams
A list of all streams in the file.
bitstream reader API header.
#define AV_LOG_ERROR
Something went wrong and cannot losslessly be recovered.
int ff_vorbis_stream_comment(AVFormatContext *as, AVStream *st, const uint8_t *buf, int size)
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)
int channels
number of audio channels
void * priv_data
Format private data.
#define AV_CH_LAYOUT_MONO
uint64_t_TMPL AV_WL64 unsigned int_TMPL AV_RL32
void * av_mallocz(size_t size)
Allocate a block of size bytes with alignment suitable for all memory accesses (including vectors if ...
#define AV_NOPTS_VALUE
Undefined timestamp value.