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>
This commit is contained in:
Michael Niedermayer 2012-08-16 21:30:10 +02:00
parent 540bd5a95f
commit 4b529edff8

View File

@ -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);
/**