diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-08-16 23:30:10 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-08-17 00:04:46 +0400 |
commit | 4b529edff8934c258af95e5acc51f84deea66262 (patch) | |
tree | d8943e3146664a89ff4958c970fa977512604bcc /libavutil | |
parent | 540bd5a95faf865feb9aceaf1b8cbbdca8d6a0c5 (diff) |
deprecate av_parse_cpu_flags
This function is problematic in several ways, its also quite
unpredictable which flags it ends up turning on
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/cpu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavutil/cpu.h b/libavutil/cpu.h index 3adccbdd68..de15ee317b 100644 --- a/libavutil/cpu.h +++ b/libavutil/cpu.h @@ -87,6 +87,7 @@ attribute_deprecated void av_set_cpu_flags_mask(int mask); * Please use av_parse_cpu_caps() when possible. * @return a combination of AV_CPU_* flags, negative on error. */ +attribute_deprecated int av_parse_cpu_flags(const char *s); /** |