Skip to content
Snippets Groups Projects
Commit 5e1286a7 authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

libavutil: Document the shortcommings of av_parse_cpu_flags()


and suggest that av_parse_cpu_caps() be used.

Signed-off-by: default avatarMichael Niedermayer <michaelni@gmx.at>
parent eadac34c
No related branches found
No related tags found
No related merge requests found
......@@ -75,6 +75,10 @@ attribute_deprecated void av_set_cpu_flags_mask(int mask);
/**
* Parse CPU flags from a string.
*
* The returned flags contain the specified flags as well as related unspecified flags.
*
* This function exists only for compatibility with libav.
* Please use av_parse_cpu_caps() when possible.
* @return a combination of AV_CPU_* flags, negative on error.
*/
int av_parse_cpu_flags(const char *s);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment