From 2308b6c19a74c0b1af58c12ab379976b54bc83a2 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 28 Apr 2010 20:00:23 +0000 Subject: Add version to AVClass so we can add to and use fields of AVClass without ABI issues. Originally committed as revision 22987 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/options.c') diff --git a/libavformat/options.c b/libavformat/options.c index 50daba9309..85d793ec09 100644 --- a/libavformat/options.c +++ b/libavformat/options.c @@ -66,7 +66,7 @@ static const AVOption options[]={ #undef D #undef DEFAULT -static const AVClass av_format_context_class = { "AVFormatContext", format_to_name, options }; +static const AVClass av_format_context_class = { "AVFormatContext", format_to_name, options, LIBAVUTIL_VERSION_INT }; static void avformat_get_context_defaults(AVFormatContext *s) { -- cgit v1.2.3