summaryrefslogtreecommitdiffstats
path: root/postproc
diff options
context:
space:
mode:
authormichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-10-29 18:07:40 +0000
committermichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-10-29 18:07:40 +0000
commit892759080c6ff1761e36de5dd2da10d7f23011cc (patch)
treed22e7874ce8e724741d45b9041342d7bb881fdc2 /postproc
parentba649eff2db19b80239a0faf6a2d9048ead4456b (diff)
downloadmpv-892759080c6ff1761e36de5dd2da10d7f23011cc.tar.bz2
mpv-892759080c6ff1761e36de5dd2da10d7f23011cc.tar.xz
cant compile on non x86 bugfix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2536 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'postproc')
-rw-r--r--postproc/rgb2rgb.c2
-rw-r--r--postproc/rgb2rgb_template.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/postproc/rgb2rgb.c b/postproc/rgb2rgb.c
index 60d3d13e12..02f6ba178b 100644
--- a/postproc/rgb2rgb.c
+++ b/postproc/rgb2rgb.c
@@ -1,7 +1,9 @@
#include <inttypes.h>
#include "../config.h"
#include "rgb2rgb.h"
+#ifdef HAVE_MMX
#include "mmx.h"
+#endif
#include "../mmx_defs.h"
void rgb24to32(uint8_t *src,uint8_t *dst,uint32_t src_size)
diff --git a/postproc/rgb2rgb_template.c b/postproc/rgb2rgb_template.c
index 60d3d13e12..02f6ba178b 100644
--- a/postproc/rgb2rgb_template.c
+++ b/postproc/rgb2rgb_template.c
@@ -1,7 +1,9 @@
#include <inttypes.h>
#include "../config.h"
#include "rgb2rgb.h"
+#ifdef HAVE_MMX
#include "mmx.h"
+#endif
#include "../mmx_defs.h"
void rgb24to32(uint8_t *src,uint8_t *dst,uint32_t src_size)