This conflict with the DJGPP libc math.h which includes a PI macro (to
M_PI).
We can not make DJGPP posix only to avoid the conflict due to the lack
of posix_memalign.
---
libavfilter/vf_xbr.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/libavfilter/vf_xbr.c b/libavfilter/vf_xbr.c
index 9893e0cc80..d0d51045cc 100644
--- a/libavfilter/vf_xbr.c
+++ b/libavfilter/vf_xbr.c
@@ -37,6 +37,10 @@
#define RED_BLUE_MASK 0x00FF00FF
#define GREEN_MASK 0x0000FF00
+#ifdef PI
+#undef PI
+#endif
+
typedef int (*xbrfunc_t)(AVFilterContext *ctx, void *arg, int jobnr, int
nb_jobs);
typedef struct {
--
2.12.1
_______________________________________________
ffmpeg-devel mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel