aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale/swscale-example.c
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2009-01-14 00:13:56 +0000
committerAurelien Jacobs <aurel@gnuage.org>2009-01-14 00:13:56 +0000
commitb63f641e9b2aeb0656288f8b16cea272ac890c22 (patch)
treeda5273b8a7551ed486e8352775e26ba4ca150534 /libswscale/swscale-example.c
parentb250f9c66d3ddd84652d158fb979a5f21e3f2c71 (diff)
downloadffmpeg-b63f641e9b2aeb0656288f8b16cea272ac890c22.tar.gz
Change semantic of CONFIG_*, HAVE_* and ARCH_*.
They are now always defined to either 0 or 1. Originally committed as revision 28311 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale/swscale-example.c')
-rw-r--r--libswscale/swscale-example.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libswscale/swscale-example.c b/libswscale/swscale-example.c
index d1189b2745..90c3ce39ab 100644
--- a/libswscale/swscale-example.c
+++ b/libswscale/swscale-example.c
@@ -118,7 +118,7 @@ static int doTest(uint8_t *ref[3], int refStride[3], int w, int h, int srcFormat
sws_scale(dstContext, src, srcStride, 0, srcH, dst, dstStride);
sws_scale(outContext, dst, dstStride, 0, dstH, out, refStride);
-#if defined(ARCH_X86)
+#if ARCH_X86
__asm__ volatile ("emms\n\t");
#endif
@@ -208,7 +208,7 @@ int main(int argc, char **argv){
}
sws_scale(sws, rgb_src, rgb_stride, 0, H, src, stride);
-#if defined(ARCH_X86)
+#if ARCH_X86
__asm__ volatile ("emms\n\t");
#endif