summaryrefslogtreecommitdiffstats
path: root/gst-libs/gst/video
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2003-11-05 03:59:53 +0000
committerDavid Schleef <ds@schleef.org>2003-11-05 03:59:53 +0000
commit8a6efa6f0557f87f859d7bc944043510680649bc (patch)
treef1e9d94550aaa70ff509f62eac5ecd5577043875 /gst-libs/gst/video
parentcd484eb01ae28d14400c26616132e9cc92919d64 (diff)
downloadgst-plugins-bad-8a6efa6f0557f87f859d7bc944043510680649bc.tar.gz
gst-plugins-bad-8a6efa6f0557f87f859d7bc944043510680649bc.tar.bz2
gst-plugins-bad-8a6efa6f0557f87f859d7bc944043510680649bc.zip
Fix endianness issues manifested in pngenc. Fixes #125932
Original commit message from CVS: Fix endianness issues manifested in pngenc. Fixes #125932
Diffstat (limited to 'gst-libs/gst/video')
-rw-r--r--gst-libs/gst/video/video.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/gst-libs/gst/video/video.h b/gst-libs/gst/video/video.h
index 9ff57f78..dd9ac76f 100644
--- a/gst-libs/gst/video/video.h
+++ b/gst-libs/gst/video/video.h
@@ -23,8 +23,6 @@
#include <gst/gst.h>
-#if (G_BYTE_ORDER == G_BIG_ENDIAN)
-
#define R_MASK_32 0xff000000
#define G_MASK_32 0x00ff0000
#define B_MASK_32 0x0000ff00
@@ -33,18 +31,6 @@
#define G_MASK_24 0x00ff00
#define B_MASK_24 0x0000ff
-#else
-
-#define R_MASK_32 0x000000ff
-#define G_MASK_32 0x0000ff00
-#define B_MASK_32 0x00ff0000
-
-#define R_MASK_24 0x0000ff
-#define G_MASK_24 0x00ff00
-#define B_MASK_24 0xff0000
-
-#endif
-
#define R_MASK_16 0xf800
#define G_MASK_16 0x07e0
#define B_MASK_16 0x001f