26 #ifndef AVCODEC_VORBIS_PARSER_H 27 #define AVCODEC_VORBIS_PARSER_H 44 #define VORBIS_FLAG_HEADER 0x00000001 45 #define VORBIS_FLAG_COMMENT 0x00000002 46 #define VORBIS_FLAG_SETUP 0x00000004 60 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.