summaryrefslogtreecommitdiff
path: root/libavfilter/version_major.h
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.dev>2023-03-13 15:10:26 +0100
committerJames Almer <jamrial@gmail.com>2023-03-13 11:30:58 -0300
commit11eca6018c40f5ebe6af93cbc4b4dce447d8b3bc (patch)
tree4edd3f0f6083df4fd515fb0e70f32072e8dd5a50 /libavfilter/version_major.h
parent7c130d6911f5b09bfc648f6ae678c4c0749f61bb (diff)
avfilter/vf_libplacebo: wrap deprecated opts in FF_API define
Signed-off-by: Niklas Haas <git@haasn.dev> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavfilter/version_major.h')
-rw-r--r--libavfilter/version_major.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavfilter/version_major.h b/libavfilter/version_major.h
index 899dfdb27d..1decc4012e 100644
--- a/libavfilter/version_major.h
+++ b/libavfilter/version_major.h
@@ -35,4 +35,6 @@
* the public API and may change, break or disappear at any time.
*/
+#define FF_API_LIBPLACEBO_OPTS (LIBAVFILTER_VERSION_MAJOR < 10)
+
#endif /* AVFILTER_VERSION_MAJOR_H */