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>
pull/248/head
Michael Niedermayer 8 years ago
parent 2506a7cc09
commit 051517648b
  1. 2
      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)
{

Loading…
Cancel
Save