[SCM] libav/experimental: Add '#undef exit', the function is now forbidden.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:58:25 UTC 2013


The following commit has been merged in the experimental branch:
commit 28186473100234e4129b69c50b1fb6bb669f2e3d
Author: Diego Biurrun <diego at biurrun.de>
Date:   Sun Apr 1 11:40:36 2007 +0000

    Add '#undef exit', the function is now forbidden.
    
    Originally committed as revision 8584 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/fft-test.c b/libavcodec/fft-test.c
index e108a6f..d249738 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 8540b74..ecdb62a 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);

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list