From 874792641ea4d52e0e03835da630565e63cc1d1f Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Wed, 29 Oct 2014 14:18:06 +0100 Subject: 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. --- libavcodec/vorbis_parser.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/vorbis_parser.h') 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 -- cgit v1.2.1