27 #ifndef AVCODEC_VORBIS_PARSE_H
28 #define AVCODEC_VORBIS_PARSE_H
48 #define VORBIS_FLAG_HEADER 0x00000001
49 #define VORBIS_FLAG_COMMENT 0x00000002
50 #define VORBIS_FLAG_SETUP 0x00000004
64 int buf_size,
int *
flags);
AVVorbisParseContext * av_vorbis_parse_init(const uint8_t *extradata, int extradata_size)
Allocate and initialize the Vorbis parser using headers in the extradata.
int av_vorbis_parse_frame_flags(AVVorbisParseContext *s, const uint8_t *buf, int buf_size, int *flags)
Get the duration for a Vorbis packet.
void av_vorbis_parse_free(AVVorbisParseContext **s)
Free the parser and everything associated with it.
void av_vorbis_parse_reset(AVVorbisParseContext *s)
int av_vorbis_parse_frame(AVVorbisParseContext *s, const uint8_t *buf, int buf_size)
Get the duration for a Vorbis packet.