[FFmpeg-cvslog] cpu: improve av_get_cpu_flags() doxy

Michael Niedermayer git at videolan.org
Mon Oct 1 18:16:43 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Oct  1 16:41:37 2012 +0200| [64604e267967b3454d4885e4202ff30d3daa21d9] | committer: Michael Niedermayer

cpu: improve av_get_cpu_flags() doxy

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=64604e267967b3454d4885e4202ff30d3daa21d9
---

 libavutil/cpu.h |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/libavutil/cpu.h b/libavutil/cpu.h
index de15ee3..c8f34e0 100644
--- a/libavutil/cpu.h
+++ b/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);
 



More information about the ffmpeg-cvslog mailing list