aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale/yuv2rgb_template.c
diff options
context:
space:
mode:
authorCédric Schieli <cschieli@gmail.com>2009-03-21 12:16:32 +0000
committerCédric Schieli <cschieli@gmail.com>2009-03-21 12:16:32 +0000
commit986b6f8f7360215bea51dc66ae97412ac67c136e (patch)
treee8366da6a50905f9072a948ec8fd755d7796457f /libswscale/yuv2rgb_template.c
parent64159a588b505d879c57078d223d8e617a36ff04 (diff)
downloadffmpeg-986b6f8f7360215bea51dc66ae97412ac67c136e.tar.gz
Fix build failure on x86_32 Mac OS X with PIC enabled
Originally committed as revision 29022 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale/yuv2rgb_template.c')
-rw-r--r--libswscale/yuv2rgb_template.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libswscale/yuv2rgb_template.c b/libswscale/yuv2rgb_template.c
index 29d6cb7371..ec5aa0d263 100644
--- a/libswscale/yuv2rgb_template.c
+++ b/libswscale/yuv2rgb_template.c
@@ -465,6 +465,7 @@ static inline int RENAME(yuv420_rgb32)(SwsContext *c, uint8_t* src[], int srcStr
YUV2RGB_OPERANDS
}
+#if HAVE_7REGS
static inline int RENAME(yuva420_rgb32)(SwsContext *c, uint8_t* src[], int srcStride[], int srcSliceY,
int srcSliceH, uint8_t* dst[], int dstStride[]){
int y, h_size;
@@ -480,3 +481,4 @@ static inline int RENAME(yuva420_rgb32)(SwsContext *c, uint8_t* src[], int srcSt
YUV2RGB_ENDLOOP(4)
YUV2RGB_OPERANDS_ALPHA
}
+#endif