From 6ea5d31456c08f8fd18db957a60141c840d3a9c2 Mon Sep 17 00:00:00 2001 From: Michael Rubinstein Date: Fri, 24 Aug 2012 19:43:08 +0100 Subject: [PATCH] videomixer: fix endianness check on systems where non-glib endianness defines are not set On Windows LITTLE_ENDIAN without the G_ in was not defined, so the test comes out wrong. --- gst/videomixer/blend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/videomixer/blend.c b/gst/videomixer/blend.c index b7e24a1dbd..3532f111e8 100644 --- a/gst/videomixer/blend.c +++ b/gst/videomixer/blend.c @@ -106,7 +106,7 @@ BLEND_A32_LOOP (bgra, blend); BLEND_A32_LOOP (argb, overlay); BLEND_A32_LOOP (bgra, overlay); -#if G_BYTE_ORDER == LITTLE_ENDIAN +#if G_BYTE_ORDER == G_LITTLE_ENDIAN BLEND_A32 (argb, blend, _blend_loop_argb); BLEND_A32 (bgra, blend, _blend_loop_bgra); BLEND_A32 (argb, overlay, _overlay_loop_argb);