Commit 4b529edf authored by Michael Niedermayer's avatar Michael Niedermayer

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: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 540bd5a9
...@@ -87,6 +87,7 @@ attribute_deprecated void av_set_cpu_flags_mask(int mask); ...@@ -87,6 +87,7 @@ attribute_deprecated void av_set_cpu_flags_mask(int mask);
* Please use av_parse_cpu_caps() when possible. * Please use av_parse_cpu_caps() when possible.
* @return a combination of AV_CPU_* flags, negative on error. * @return a combination of AV_CPU_* flags, negative on error.
*/ */
attribute_deprecated
int av_parse_cpu_flags(const char *s); int av_parse_cpu_flags(const char *s);
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment