summaryrefslogtreecommitdiffstats
path: root/libavcodec/vorbis_parser_internal.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-11-06 11:54:40 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-11-06 11:58:32 +0100
commit7ffdc7bef2f9d7e90487f816a97a3496b0639450 (patch)
treef6318eeb493ae08bbc53eec923ae01171dc00a06 /libavcodec/vorbis_parser_internal.h
parent44fa2671e0db0bb1a92c365fb3c9c2d1cd7199ca (diff)
downloadffmpeg-streaming-7ffdc7bef2f9d7e90487f816a97a3496b0639450.zip
ffmpeg-streaming-7ffdc7bef2f9d7e90487f816a97a3496b0639450.tar.gz
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.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/libavcodec/vorbis_parser_internal.h b/libavcodec/vorbis_parser_internal.h
index 885793f..49481ee 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
OpenPOWER on IntegriCloud