summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2001-10-29 18:07:40 +0000
committerMichael Niedermayer <michaelni@gmx.at>2001-10-29 18:07:40 +0000
commite697a1413b9f1dab58efc3fdbb1cccc0ff3a0fbd (patch)
tree3367c08178440414f6be13fb6bfa79f2e026a486
parent17f715fa64d9663f65e3247d876ae258deb369a3 (diff)
downloadffmpeg-streaming-e697a1413b9f1dab58efc3fdbb1cccc0ff3a0fbd.zip
ffmpeg-streaming-e697a1413b9f1dab58efc3fdbb1cccc0ff3a0fbd.tar.gz
cant compile on non x86 bugfix
Originally committed as revision 2536 to svn://svn.mplayerhq.hu/mplayer/trunk/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 60d3d13..02f6ba1 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 60d3d13..02f6ba1 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)
OpenPOWER on IntegriCloud