diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-11-06 13:54:40 +0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-11-06 13:58:32 +0300 |
commit | 7ffdc7bef2f9d7e90487f816a97a3496b0639450 (patch) | |
tree | f6318eeb493ae08bbc53eec923ae01171dc00a06 /libavcodec/vorbis_parser_internal.h | |
parent | 44fa2671e0db0bb1a92c365fb3c9c2d1cd7199ca (diff) |
avcodec/export av_vorbis_parse_frame_flags()
The other functions where changed in the previous merge
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/vorbis_parser_internal.h')
-rw-r--r-- | libavcodec/vorbis_parser_internal.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libavcodec/vorbis_parser_internal.h b/libavcodec/vorbis_parser_internal.h index 885793ff52..49481eeafd 100644 --- a/libavcodec/vorbis_parser_internal.h +++ b/libavcodec/vorbis_parser_internal.h @@ -56,6 +56,21 @@ int avpriv_vorbis_parse_extradata(AVCodecContext *avctx, AVVorbisParseContext *s * Get the duration for a Vorbis packet. * * avpriv_vorbis_parse_extradata() must have been successfully called prior to + * this in order for a correct duration to be returned. If @p flags is @c NULL, + * special frames are considered invalid. + * + * @param s Vorbis parser context + * @param buf buffer containing a Vorbis frame + * @param buf_size size of the buffer + * @param flags flags for special frames + */ +int avpriv_vorbis_parse_frame_flags(AVVorbisParseContext *s, const uint8_t *buf, + int buf_size, int *flags); + +/** + * Get the duration for a Vorbis packet. + * + * avpriv_vorbis_parse_extradata() must have been successfully called prior to * this in order for a correct duration to be returned. * * @param s Vorbis parser context |