summaryrefslogtreecommitdiff
path: root/libavfilter/version.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-04-03 09:20:36 +0200
committerAnton Khirnov <anton@khirnov.net>2013-04-11 20:44:03 +0200
commitfa2a34cd40d124161c748bb0f430dc63c94dd0da (patch)
tree149c1a579d496d8331ffca26d9b750bdf870f5f1 /libavfilter/version.h
parent7e8fe4be5fb4c98aa3c6a4ed3cec999f4e3cc3aa (diff)
lavfi: change the filter registering system to match the other libraries
Removes an arbitrary hardcoded limit on the number of filters.
Diffstat (limited to 'libavfilter/version.h')
-rw-r--r--libavfilter/version.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavfilter/version.h b/libavfilter/version.h
index f58a9d5e8f..36a03f7aa3 100644
--- a/libavfilter/version.h
+++ b/libavfilter/version.h
@@ -64,5 +64,8 @@
#ifndef FF_API_AVFILTER_INIT_FILTER
#define FF_API_AVFILTER_INIT_FILTER (LIBAVFILTER_VERSION_MAJOR < 4)
#endif
+#ifndef FF_API_OLD_FILTER_REGISTER
+#define FF_API_OLD_FILTER_REGISTER (LIBAVFILTER_VERSION_MAJOR < 4)
+#endif
#endif /* AVFILTER_VERSION_H */