summaryrefslogtreecommitdiff
path: root/libavfilter/version.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-03-18 11:27:38 +0100
committerAnton Khirnov <anton@khirnov.net>2012-04-01 09:03:35 +0200
commit996f9f0c3280552d293c3dbe4266938927fd5908 (patch)
treeb131ed11f438af4febbe9e46e8181ee1de923413 /libavfilter/version.h
parentddb4431208745ea270dce8fce4cba999f0ed4303 (diff)
avfiltergraph: add an AVClass to AVFilterGraph on next major bump.
It will be used for logging, possibly also AVOptions.
Diffstat (limited to 'libavfilter/version.h')
-rw-r--r--libavfilter/version.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libavfilter/version.h b/libavfilter/version.h
index 09d6700d12..d84b67ff76 100644
--- a/libavfilter/version.h
+++ b/libavfilter/version.h
@@ -40,4 +40,12 @@
LIBAVFILTER_VERSION_MICRO)
#define LIBAVFILTER_BUILD LIBAVFILTER_VERSION_INT
+/**
+ * Those FF_API_* defines are not part of public API.
+ * They may change, break or disappear at any time.
+ */
+#ifndef FF_API_GRAPH_AVCLASS
+#define FF_API_GRAPH_AVCLASS (LIBAVFILTER_VERSION_MAJOR > 2)
+#endif
+
#endif // AVFILTER_VERSION_H