61 int frames_per_packet;
80 frames_per_packet =
AV_RL32(p + 64);
81 if (frames_per_packet)
100 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
enum AVCodecID codec_id
Specific type of the encoded data (the codec used).
#define AV_CH_LAYOUT_STEREO
int final_packet_duration
AVStream ** streams
A list of all streams in the file.
uint64_t channel_layout
Audio only.
#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)
enum AVMediaType codec_type
General type of the encoded data.
int extradata_size
Size of the extradata content in bytes.
audio channel layout utility functions
struct ogg_stream * streams
static int speex_packet(AVFormatContext *s, int idx)
static int speex_header(AVFormatContext *s, int idx)
int sample_rate
Audio only.
void * priv_data
Format private data.
uint8_t * extradata
Extra binary data needed for initializing the decoder, codec-dependent.
AVCodecParameters * codecpar
#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.