changeset 2368:a7ac68734a91 libavcodec

fix for build on IRIX by (Michel Bardiaux {mbardiaux peaktime be})
author michael
date Thu, 25 Nov 2004 19:26:46 +0000
parents c353719836af
children ce47b1d51cb1
files snow.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/snow.c	Thu Nov 25 19:17:27 2004 +0000
+++ b/snow.c	Thu Nov 25 19:26:46 2004 +0000
@@ -430,6 +430,10 @@
     MpegEncContext m; // needed for motion estimation, should not be used for anything else, the idea is to make the motion estimation eventually independant of MpegEncContext, so this will be removed then (FIXME/XXX)
 }SnowContext;
 
+#ifdef	__sgi
+// Avoid a name clash on SGI IRIX
+#undef	qexp
+#endif
 #define QEXPSHIFT (7-FRAC_BITS+8) //FIXME try to change this to 0
 static const uint8_t qexp[8]={
     128, 140, 152, 166, 181, 197, 215, 235