summaryrefslogtreecommitdiff
path: root/src/libffmpeg/libavcodec/i386/cputest.c
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2002-11-11 13:45:34 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2002-11-11 13:45:34 +0000
commit810ddddbc0d5f6587b9154115fa60d546d728310 (patch)
tree67256930a6cd947fb3f09b070b19dedd4fbbcd10 /src/libffmpeg/libavcodec/i386/cputest.c
parente38a8cca2c6be40954a44f167f7cc9fac0813ede (diff)
downloadxine-lib-810ddddbc0d5f6587b9154115fa60d546d728310.tar.gz
xine-lib-810ddddbc0d5f6587b9154115fa60d546d728310.tar.bz2
sync ffmpeg
- add wma decoder - fix mmx macro - remove changes from fdct_mmx.c (it should work fine now with the mmx macro fix) CVS patchset: 3234 CVS date: 2002/11/11 13:45:34
Diffstat (limited to 'src/libffmpeg/libavcodec/i386/cputest.c')
-rw-r--r--src/libffmpeg/libavcodec/i386/cputest.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/libffmpeg/libavcodec/i386/cputest.c b/src/libffmpeg/libavcodec/i386/cputest.c
new file mode 100644
index 000000000..b885548ee
--- /dev/null
+++ b/src/libffmpeg/libavcodec/i386/cputest.c
@@ -0,0 +1,21 @@
+/* dummy file to use xine mm_support function */
+
+#include "xineutils.h"
+#include "../dsputil.h"
+
+
+/* Function to test if multimedia instructions are supported... */
+int mm_support(void)
+{
+ return xine_mm_accel();
+}
+
+#ifdef __TEST__
+int main ( void )
+{
+ int mm_flags;
+ mm_flags = mm_support();
+ printf("mm_support = 0x%08u\n",mm_flags);
+ return 0;
+}
+#endif