From 6979600818329be76d8ac6c292e8358e49e2e729 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Fri, 28 Jul 2006 09:07:09 +0000 Subject: [PATCH] Comment some #endif lines. Originally committed as revision 19211 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale --- libswscale/rgb2rgb.c | 4 ++-- libswscale/swscale.c | 12 ++++++------ libswscale/yuv2rgb.c | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/libswscale/rgb2rgb.c b/libswscale/rgb2rgb.c index 2e4cc2c0dc..0b51b04f0e 100644 --- a/libswscale/rgb2rgb.c +++ b/libswscale/rgb2rgb.c @@ -134,7 +134,7 @@ static uint64_t __attribute__((aligned(8))) dither8[2]={ 0x0602060206020602LL, 0x0004000400040004LL,}; #endif -#endif +#endif /* defined(ARCH_X86) || defined(ARCH_X86_64) */ #define RGB2YUV_SHIFT 8 #define BY ((int)( 0.098*(1<lumXInc, c->funnyYCode , c->lumMmx2Filter, c->lumMmx2FilterPos, 8); initMMX2HScaler(c->chrDstW, c->chrXInc, c->funnyUVCode, c->chrMmx2Filter, c->chrMmx2FilterPos, 4); } -#endif +#endif /* defined(ARCH_X86) || defined(ARCH_X86_64) */ } // Init Horizontal stuff @@ -2712,7 +2712,7 @@ void sws_freeContext(SwsContext *c){ #endif c->funnyYCode=NULL; c->funnyUVCode=NULL; -#endif +#endif /* defined(ARCH_X86) || defined(ARCH_X86_64) */ av_free(c->lumMmx2Filter); c->lumMmx2Filter=NULL; diff --git a/libswscale/yuv2rgb.c b/libswscale/yuv2rgb.c index 041e456639..3758f1b58c 100644 --- a/libswscale/yuv2rgb.c +++ b/libswscale/yuv2rgb.c @@ -198,7 +198,7 @@ uint64_t __attribute__((aligned(8))) dither8[2]={ #define RENAME(a) a ## _MMX2 #include "yuv2rgb_template.c" -#endif // CAN_COMPILE_X86_ASM +#endif /* defined(ARCH_X86) || defined(ARCH_X86_64) */ const int32_t Inverse_Table_6_9[8][4] = { {117504, 138453, 13954, 34903}, /* no sequence_display_extension */