summaryrefslogtreecommitdiff
path: root/libavutil/cpu.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-08-16 21:30:10 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-08-16 22:04:46 +0200
commit4b529edff8934c258af95e5acc51f84deea66262 (patch)
treed8943e3146664a89ff4958c970fa977512604bcc /libavutil/cpu.h
parent540bd5a95faf865feb9aceaf1b8cbbdca8d6a0c5 (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/cpu.h')
-rw-r--r--libavutil/cpu.h1
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);
/**