aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2007-04-01 11:40:36 +0000
committerDiego Biurrun <diego@biurrun.de>2007-04-01 11:40:36 +0000
commit28186473100234e4129b69c50b1fb6bb669f2e3d (patch)
tree7d7ded398e18b21e796e0a769c822a6a8b02e62d
parent58ecc9cd04ffb518827c12d440681914e1679a8d (diff)
downloadffmpeg-28186473100234e4129b69c50b1fb6bb669f2e3d.tar.gz
Add '#undef exit', the function is now forbidden.
Originally committed as revision 8584 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/fft-test.c2
-rw-r--r--libavcodec/motion_test.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/fft-test.c b/libavcodec/fft-test.c
index e108a6f7ba..d2497383d5 100644
--- a/libavcodec/fft-test.c
+++ b/libavcodec/fft-test.c
@@ -28,6 +28,8 @@
#include <unistd.h>
#include <sys/time.h>
+#undef exit
+
int mm_flags;
/* reference fft */
diff --git a/libavcodec/motion_test.c b/libavcodec/motion_test.c
index 8540b74834..ecdb62a4e1 100644
--- a/libavcodec/motion_test.c
+++ b/libavcodec/motion_test.c
@@ -33,6 +33,7 @@
#include "i386/mmx.h"
+#undef exit
#undef printf
int pix_abs16x16_mmx(uint8_t *blk1, uint8_t *blk2, int lx);