Add version to AVClass so we can add to and use fields of AVClass without ABI issues.
[libav.git] / libavfilter / avfilter.c
index feba3d9..3ed59d7 100644 (file)
@@ -385,7 +385,9 @@ static const char *filter_name(void *p)
 
 static const AVClass avfilter_class = {
     "AVFilter",
-    filter_name
+    filter_name,
+    NULL,
+    LIBAVUTIL_VERSION_INT,
 };
 
 AVFilterContext *avfilter_open(AVFilter *filter, const char *inst_name)