summaryrefslogtreecommitdiff
path: root/libavfilter/version.h
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2013-10-28 02:58:12 +0100
committerAnton Khirnov <anton@khirnov.net>2013-10-28 07:57:44 +0100
commit5c439b41d0489412c0a4cf6dfb98915251677b8e (patch)
tree9069f3544b52caf19da4dfc8bc635b25d1f557cf /libavfilter/version.h
parent97de206b44a48da726807cc3e7b9448a8112760b (diff)
avfilter: have avfilter_get_by_name return const for next bump
Signed-off-by: Anton Khirnov <anton@khirnov.net>
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 9c84e0f85a..02f348ebb7 100644
--- a/libavfilter/version.h
+++ b/libavfilter/version.h
@@ -68,5 +68,8 @@
#ifndef FF_API_OLD_FILTER_REGISTER
#define FF_API_OLD_FILTER_REGISTER (LIBAVFILTER_VERSION_MAJOR < 4)
#endif
+#ifndef FF_API_NOCONST_GET_NAME
+#define FF_API_NOCONST_GET_NAME (LIBAVFILTER_VERSION_MAJOR < 4)
+#endif
#endif /* AVFILTER_VERSION_H */