summaryrefslogtreecommitdiff
path: root/libavcodec/vorbis_parser.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2014-10-29 14:18:06 +0100
committerAnton Khirnov <anton@khirnov.net>2014-11-06 08:47:21 +0100
commit874792641ea4d52e0e03835da630565e63cc1d1f (patch)
tree4da131e4d6ff1d477558a11ed9b6076b89237370 /libavcodec/vorbis_parser.h
parenta490391157dcf4dc6b65352ec3eea2781dd0a404 (diff)
vorbis_parser: use a dedicated AVClass for logging
Currently, the API takes an external AVCodecContext, which is used only for extradata and logging. This change will allow to it to work without an AVCodecContext in the following commits.
Diffstat (limited to 'libavcodec/vorbis_parser.h')
-rw-r--r--libavcodec/vorbis_parser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vorbis_parser.h b/libavcodec/vorbis_parser.h
index 480a918f7b..dec3876bc3 100644
--- a/libavcodec/vorbis_parser.h
+++ b/libavcodec/vorbis_parser.h
@@ -31,7 +31,7 @@
#include "avcodec.h"
typedef struct VorbisParseContext {
- AVCodecContext *avctx; ///< codec context
+ const AVClass *class;
int extradata_parsed; ///< we have attempted to parse extradata
int valid_extradata; ///< extradata is valid, so we can calculate duration
int blocksize[2]; ///< short and long window sizes