mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
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:
parent
916e4c86fa
commit
6ea5d31456
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue