]> git.sesse.net Git - ffmpeg/commitdiff
deprecate av_parse_cpu_flags
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 16 Aug 2012 19:30:10 +0000 (21:30 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 16 Aug 2012 20:04:46 +0000 (22:04 +0200)
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>
libavutil/cpu.h

index 3adccbdd6817832de193273d36b872e28e1e1d34..de15ee317bfeb93e8c8eb80268e4c63da48da5b2 100644 (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);
 
 /**