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.
This commit is contained in:
Michael Rubinstein 2012-08-24 19:43:08 +01:00 committed by Tim-Philipp Müller
parent 916e4c86fa
commit 6ea5d31456

View file

@ -106,7 +106,7 @@ BLEND_A32_LOOP (bgra, blend);
BLEND_A32_LOOP (argb, overlay); BLEND_A32_LOOP (argb, overlay);
BLEND_A32_LOOP (bgra, 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 (argb, blend, _blend_loop_argb);
BLEND_A32 (bgra, blend, _blend_loop_bgra); BLEND_A32 (bgra, blend, _blend_loop_bgra);
BLEND_A32 (argb, overlay, _overlay_loop_argb); BLEND_A32 (argb, overlay, _overlay_loop_argb);