aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-04-26 23:22:53 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-04-30 18:31:06 +0200
commit5e1286a72f50deb3f9edac0785868e1aee86c53e (patch)
treef83ddb5abb8a5fc4fa310acad9748d5cfdb21709
parenteadac34c80cf4c58279b8fdfa9b6332683804da7 (diff)
downloadffmpeg-5e1286a72f50deb3f9edac0785868e1aee86c53e.tar.gz
libavutil: Document the shortcommings of av_parse_cpu_flags()
and suggest that av_parse_cpu_caps() be used. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavutil/cpu.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavutil/cpu.h b/libavutil/cpu.h
index a72b008618..dec0566d04 100644
--- a/libavutil/cpu.h
+++ b/libavutil/cpu.h
@@ -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);