diff options.c @ 5987:d5672e116fe4 libavformat

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 178de7695c6c
children 01f2dce260eb
line wrap: on
line diff
--- a/options.c	Wed Apr 28 07:57:07 2010 +0000
+++ b/options.c	Wed Apr 28 20:00:23 2010 +0000
@@ -66,7 +66,7 @@
 #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)
 {