Skip to content
Snippets Groups Projects
Commit 05151764 authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

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

parent 2506a7cc
No related branches found
No related tags found
No related merge requests found
...@@ -31,6 +31,8 @@ void avpriv_emms_yasm(void); ...@@ -31,6 +31,8 @@ void avpriv_emms_yasm(void);
* Empty mmx state. * Empty mmx state.
* this must be called between any dsp function and float/double code. * this must be called between any dsp function and float/double code.
* for example sin(); dsp->idct_put(); emms_c(); cos() * 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) static av_always_inline void emms_c(void)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment