diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2010-04-28 20:00:23 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2010-04-28 20:00:23 +0000 |
commit | 2308b6c19a74c0b1af58c12ab379976b54bc83a2 (patch) | |
tree | 01c228ac7cac4cd32b96462741469a70ed64f087 /libavformat | |
parent | b01dba14f36aa3ff3d6fe89acf71eddbd65e7027 (diff) | |
download | ffmpeg-2308b6c19a74c0b1af58c12ab379976b54bc83a2.tar.gz |
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 'libavformat')
-rw-r--r-- | libavformat/avio.c | 2 | ||||
-rw-r--r-- | libavformat/options.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/avio.c b/libavformat/avio.c index 3fb64d149c..48399d081f 100644 --- a/libavformat/avio.c +++ b/libavformat/avio.c @@ -41,7 +41,7 @@ static const char *urlcontext_to_name(void *ptr) } 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 --git a/libavformat/options.c b/libavformat/options.c index 50daba9309..85d793ec09 100644 --- a/libavformat/options.c +++ b/libavformat/options.c @@ -66,7 +66,7 @@ static const AVOption options[]={ #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) { |