diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2010-04-29 00:00:23 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2010-04-29 00:00:23 +0400 |
commit | 2308b6c19a74c0b1af58c12ab379976b54bc83a2 (patch) | |
tree | 01c228ac7cac4cd32b96462741469a70ed64f087 /libavcodec/options.c | |
parent | b01dba14f36aa3ff3d6fe89acf71eddbd65e7027 (diff) |
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
Diffstat (limited to 'libavcodec/options.c')
-rw-r--r-- | libavcodec/options.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/options.c b/libavcodec/options.c index 65305224fe..6835352c30 100644 --- a/libavcodec/options.c +++ b/libavcodec/options.c @@ -421,7 +421,7 @@ static const AVOption options[]={ #undef D #undef DEFAULT -static const AVClass av_codec_context_class = { "AVCodecContext", context_to_name, options }; +static const AVClass av_codec_context_class = { "AVCodecContext", context_to_name, options, LIBAVUTIL_VERSION_INT }; void avcodec_get_context_defaults2(AVCodecContext *s, enum AVMediaType codec_type){ int flags=0; |