summaryrefslogtreecommitdiff
path: root/libswscale/yuv2rgb_template.c
diff options
context:
space:
mode:
authorCédric Schieli <cschieli@gmail.com>2009-03-24 07:09:19 +0000
committerCédric Schieli <cschieli@gmail.com>2009-03-24 07:09:19 +0000
commit0928f1eb53c8d60c6904b00b76d8d79f9f6d7634 (patch)
tree0a29b4f446d35d64684a7ceb3cc6e4ccaef3c4ea /libswscale/yuv2rgb_template.c
parentda1e126e0db3eda68153bb8130947adba8236034 (diff)
downloadffmpeg-0928f1eb53c8d60c6904b00b76d8d79f9f6d7634.tar.gz
Simpler and more elegant fix to the x86_32/OSX+PIC build failure
Originally committed as revision 29046 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale/yuv2rgb_template.c')
-rw-r--r--libswscale/yuv2rgb_template.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libswscale/yuv2rgb_template.c b/libswscale/yuv2rgb_template.c
index ec5aa0d263..798eff0e33 100644
--- a/libswscale/yuv2rgb_template.c
+++ b/libswscale/yuv2rgb_template.c
@@ -465,9 +465,9 @@ 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[]){
+#if HAVE_7REGS
int y, h_size;
YUV2RGB_LOOP(4)
@@ -480,5 +480,5 @@ static inline int RENAME(yuva420_rgb32)(SwsContext *c, uint8_t* src[], int srcSt
YUV2RGB_ENDLOOP(4)
YUV2RGB_OPERANDS_ALPHA
-}
#endif
+}