From 4b529edff8934c258af95e5acc51f84deea66262 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 16 Aug 2012 21:30:10 +0200 Subject: [PATCH] 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 --- libavutil/cpu.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libavutil/cpu.h b/libavutil/cpu.h index 3adccbdd681..de15ee317bf 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); /** -- 2.39.2