[FFmpeg-cvslog] avutil/x86/emms: Document the emms_c() vs alloc/free relation.

Michael Niedermayer git at videolan.org
Sun Oct 23 14:07:16 EEST 2016


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Sun Oct 23 04:46:57 2016 +0200| [051517648b00cf55509c0cf370e4067db3bf1ba2] | committer: Michael Niedermayer

avutil/x86/emms: Document the emms_c() vs alloc/free relation.

Reviewed-by: Andreas Cadhalpun <andreas.cadhalpun at googlemail.com>
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

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

 libavutil/x86/emms.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavutil/x86/emms.h b/libavutil/x86/emms.h
index 6fda6e2..42c18e2 100644
--- a/libavutil/x86/emms.h
+++ b/libavutil/x86/emms.h
@@ -31,6 +31,8 @@ void avpriv_emms_yasm(void);
  * Empty mmx state.
  * this must be called between any dsp function and float/double code.
  * for example sin(); dsp->idct_put(); emms_c(); cos()
+ * Note, *alloc() and *free() also use float code in some libc implementations
+ * thus this also applies to them or any function using them.
  */
 static av_always_inline void emms_c(void)
 {



More information about the ffmpeg-cvslog mailing list