diff options.c @ 11664:3da317f52661 libavcodec

Add version to AVClass so we can add to and use fields of AVClass without ABI issues.
author michael
date Wed, 28 Apr 2010 20:00:23 +0000
parents 7dd2a45249a9
children 2312dfbe9251
line wrap: on
line diff
--- a/options.c	Mon Apr 26 22:39:08 2010 +0000
+++ b/options.c	Wed Apr 28 20:00:23 2010 +0000
@@ -421,7 +421,7 @@
 #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;