videomixer: fix endianness check on systems where non-glib endianness defines are...
authorMichael Rubinstein <mrubinstein@rai-dev.com>
Fri, 24 Aug 2012 18:43:08 +0000 (19:43 +0100)
committerTim-Philipp Müller <tim@centricular.net>
Fri, 24 Aug 2012 18:45:11 +0000 (19:45 +0100)
On Windows LITTLE_ENDIAN without the G_ in was not defined,  so the
test comes out wrong.

gst/videomixer/blend.c

index b7e24a1..3532f11 100644 (file)
@@ -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);