aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2010-04-28 20:00:23 +0000
committerMichael Niedermayer <michaelni@gmx.at>2010-04-28 20:00:23 +0000
commit2308b6c19a74c0b1af58c12ab379976b54bc83a2 (patch)
tree01c228ac7cac4cd32b96462741469a70ed64f087 /libavutil
parentb01dba14f36aa3ff3d6fe89acf71eddbd65e7027 (diff)
downloadffmpeg-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 'libavutil')
-rw-r--r--libavutil/avutil.h2
-rw-r--r--libavutil/log.h8
2 files changed, 9 insertions, 1 deletions
diff --git a/libavutil/avutil.h b/libavutil/avutil.h
index b31eb0d6ab..b2c49283b0 100644
--- a/libavutil/avutil.h
+++ b/libavutil/avutil.h
@@ -40,7 +40,7 @@
#define AV_VERSION(a, b, c) AV_VERSION_DOT(a, b, c)
#define LIBAVUTIL_VERSION_MAJOR 50
-#define LIBAVUTIL_VERSION_MINOR 14
+#define LIBAVUTIL_VERSION_MINOR 15
#define LIBAVUTIL_VERSION_MICRO 0
#define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \
diff --git a/libavutil/log.h b/libavutil/log.h
index b0a1493607..566440f854 100644
--- a/libavutil/log.h
+++ b/libavutil/log.h
@@ -48,6 +48,14 @@ typedef struct {
* @see av_set_default_options()
*/
const struct AVOption *option;
+
+ /**
+ * LIBAVUTIL_VERSION with which this structure was created.
+ * This is used to allow fields to be added without requireing major
+ * version bumps everywhere.
+ */
+
+ int version;
} AVClass;
/* av_log API */