diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-04-14 14:25:05 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-04-19 14:34:19 +0200 |
commit | 7368e5537db61683b535257adbc0c3b15f0f84f2 (patch) | |
tree | d43c814bce482b66566d2083e4e5dc85c38545ab /libavutil/cpu.h | |
parent | f3c197b129482954e863aa6cc0fe9fd0713a9321 (diff) |
avutil/cpu: Schedule deprecated functions for removal
av_set_cpu_flags_mask() has been deprecated in the commit which merged
it: 6df42f98746be06c883ce683563e07c9a2af983f; av_parse_cpu_flags() has
been deprecated in 4b529edff8934c258af95e5acc51f84deea66262.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavutil/cpu.h')
-rw-r--r-- | libavutil/cpu.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavutil/cpu.h b/libavutil/cpu.h index 83099dd969..18dfa492ef 100644 --- a/libavutil/cpu.h +++ b/libavutil/cpu.h @@ -24,6 +24,7 @@ #include <stddef.h> #include "attributes.h" +#include "version.h" #define AV_CPU_FLAG_FORCE 0x80000000 /* force usage of selected flags (OR) */ @@ -88,6 +89,7 @@ int av_get_cpu_flags(void); */ void av_force_cpu_flags(int flags); +#if FF_API_CPU_FLAGS /** * Set a mask on flags returned by av_get_cpu_flags(). * This function is mainly useful for testing. @@ -106,6 +108,7 @@ attribute_deprecated void av_set_cpu_flags_mask(int mask); */ attribute_deprecated int av_parse_cpu_flags(const char *s); +#endif /** * Parse CPU caps from a string and update the given AV_CPU_* flags based on that. |