aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2016-10-23 04:46:57 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2016-10-23 13:02:37 +0200
commit051517648b00cf55509c0cf370e4067db3bf1ba2 (patch)
treeab2f4cf63d17d32cd3a7f34fcbef34412a8e9e98
parent2506a7cc09ca6c7d3bf064ae8d16828a81f6a417 (diff)
downloadffmpeg-051517648b00cf55509c0cf370e4067db3bf1ba2.tar.gz
avutil/x86/emms: Document the emms_c() vs alloc/free relation.
Reviewed-by: Andreas Cadhalpun <andreas.cadhalpun@googlemail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r--libavutil/x86/emms.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavutil/x86/emms.h b/libavutil/x86/emms.h
index 6fda6e2763..42c18e2953 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)
{