summaryrefslogtreecommitdiff
path: root/libavcodec/vorbis_parser.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2014-10-29 14:33:32 +0100
committerAnton Khirnov <anton@khirnov.net>2014-11-06 08:47:54 +0100
commit6896f95b2483e52e717e2c75a4fd24fcb0e14b67 (patch)
tree11201cf08f6effaffb25dcf71eb2ff03726a3736 /libavcodec/vorbis_parser.h
parent874792641ea4d52e0e03835da630565e63cc1d1f (diff)
vorbis_parser: add an AV prefix to VorbisParseContext
This is done in preparation for making it public.
Diffstat (limited to 'libavcodec/vorbis_parser.h')
-rw-r--r--libavcodec/vorbis_parser.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/libavcodec/vorbis_parser.h b/libavcodec/vorbis_parser.h
index dec3876bc3..414a04b4a3 100644
--- a/libavcodec/vorbis_parser.h
+++ b/libavcodec/vorbis_parser.h
@@ -30,7 +30,7 @@
#include "avcodec.h"
-typedef struct VorbisParseContext {
+typedef struct AVVorbisParseContext {
const AVClass *class;
int extradata_parsed; ///< we have attempted to parse extradata
int valid_extradata; ///< extradata is valid, so we can calculate duration
@@ -40,7 +40,7 @@ typedef struct VorbisParseContext {
int mode_count; ///< number of modes
int mode_mask; ///< bitmask used to get the mode in each packet
int prev_mask; ///< bitmask used to get the previous mode flag in each packet
-} VorbisParseContext;
+} AVVorbisParseContext;
/**
* Initialize the Vorbis parser using headers in the extradata.
@@ -48,7 +48,7 @@ typedef struct VorbisParseContext {
* @param avctx codec context
* @param s Vorbis parser context
*/
-int avpriv_vorbis_parse_extradata(AVCodecContext *avctx, VorbisParseContext *s);
+int avpriv_vorbis_parse_extradata(AVCodecContext *avctx, AVVorbisParseContext *s);
/**
* Get the duration for a Vorbis packet.
@@ -60,9 +60,9 @@ int avpriv_vorbis_parse_extradata(AVCodecContext *avctx, VorbisParseContext *s);
* @param buf buffer containing a Vorbis frame
* @param buf_size size of the buffer
*/
-int avpriv_vorbis_parse_frame(VorbisParseContext *s, const uint8_t *buf,
+int avpriv_vorbis_parse_frame(AVVorbisParseContext *s, const uint8_t *buf,
int buf_size);
-void avpriv_vorbis_parse_reset(VorbisParseContext *s);
+void avpriv_vorbis_parse_reset(AVVorbisParseContext *s);
#endif /* AVCODEC_VORBIS_PARSER_H */