26 #ifndef AVCODEC_VORBIS_PARSE_H 27 #define AVCODEC_VORBIS_PARSE_H
AVVorbisParseContext * av_vorbis_parse_init(const uint8_t *extradata, int extradata_size)
Allocate and initialize the Vorbis parser using headers in the extradata.
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.