OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de653ba
)
Replace manual gcc version check by AV_GCC_VERSION_AT_LEAST macro.
author
Diego Biurrun
<diego@biurrun.de>
Tue, 22 Sep 2009 14:38:49 +0000
(14:38 +0000)
committer
Diego Biurrun
<diego@biurrun.de>
Tue, 22 Sep 2009 14:38:49 +0000
(14:38 +0000)
Originally committed as revision 29701 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
libswscale/swscale_template.c
patch
|
blob
|
history
diff --git
a/libswscale/swscale_template.c
b/libswscale/swscale_template.c
index
27faf49
..
e842cbc
100644
(file)
--- a/
libswscale/swscale_template.c
+++ b/
libswscale/swscale_template.c
@@
-2496,7
+2496,7
@@
inline static void RENAME(hcscale)(SwsContext *c, uint16_t *dst, long dstWidth,
/* GCC 3.3 makes MPlayer crash on IA-32 machines when using "g" operand here,
which is needed to support GCC 4.0. */
-#if ARCH_X86_64 &&
((__GNUC__ > 3) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
)
+#if ARCH_X86_64 &&
AV_GCC_VERSION_AT_LEAST(3,4
)
:: "m" (src1), "m" (dst), "g" (dstWidth), "m" (xInc_shr16), "m" (xInc_mask),
#else
:: "m" (src1), "m" (dst), "m" (dstWidth), "m" (xInc_shr16), "m" (xInc_mask),