Просмотр исходного кода

cpu: improve av_get_cpu_flags() doxy

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer 12 лет назад
Родитель
Сommit
64604e2679
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      libavutil/cpu.h

+ 3 - 0
libavutil/cpu.h

@@ -60,6 +60,9 @@
 
 /**
  * Return the flags which specify extensions supported by the CPU.
+ * The returned value is affected by av_force_cpu_flags() if that was used
+ * before. So av_get_cpu_flags() can easily be used in a application to
+ * detect the enabled cpu flags.
  */
 int av_get_cpu_flags(void);