[FFmpeg-cvslog] r10181 - trunk/libavcodec/ppc/dsputil_altivec.c

diego subversion
Wed Aug 22 15:04:10 CEST 2007


Author: diego
Date: Wed Aug 22 15:04:10 2007
New Revision: 10181

Log:
Simplify preprocessor directives.


Modified:
   trunk/libavcodec/ppc/dsputil_altivec.c

Modified: trunk/libavcodec/ppc/dsputil_altivec.c
==============================================================================
--- trunk/libavcodec/ppc/dsputil_altivec.c	(original)
+++ trunk/libavcodec/ppc/dsputil_altivec.c	Wed Aug 22 15:04:10 2007
@@ -28,12 +28,11 @@
 
 #ifdef CONFIG_DARWIN
 #include <sys/sysctl.h>
-#else /* CONFIG_DARWIN */
-#ifdef __AMIGAOS4__
+#elif __AMIGAOS4__
 #include <exec/exec.h>
 #include <interfaces/exec.h>
 #include <proto/exec.h>
-#else /* __AMIGAOS4__ */
+#else
 #include <signal.h>
 #include <setjmp.h>
 
@@ -51,7 +50,6 @@ static void sigill_handler (int sig)
     siglongjmp (jmpbuf, 1);
 }
 #endif /* CONFIG_DARWIN */
-#endif /* __AMIGAOS4__ */
 
 int sad16_x2_altivec(void *v, uint8_t *pix1, uint8_t *pix2, int line_size, int h)
 {




More information about the ffmpeg-cvslog mailing list