Browse Source

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>
tags/n1.0
Michael Niedermayer 13 years ago
parent
commit
4b529edff8
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavutil/cpu.h

+ 1
- 0
libavutil/cpu.h 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);

/**


Loading…
Cancel
Save