# HG changeset patch # User michael # Date 1272484823 0 # Node ID d5672e116fe486b8901c2f7d16a2c2c172d26920 # Parent bbac6af4238c0157b26d01c2d6a6c9f750f2aa65 Add version to AVClass so we can add to and use fields of AVClass without ABI issues. diff -r bbac6af4238c -r d5672e116fe4 avio.c --- a/avio.c Wed Apr 28 07:57:07 2010 +0000 +++ b/avio.c Wed Apr 28 20:00:23 2010 +0000 @@ -41,7 +41,7 @@ } static const AVOption options[] = {{NULL}}; static const AVClass urlcontext_class = - { "URLContext", urlcontext_to_name, options }; + { "URLContext", urlcontext_to_name, options, LIBAVUTIL_VERSION_INT }; /*@}*/ #endif diff -r bbac6af4238c -r d5672e116fe4 options.c --- 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) {