diff options
author | David Schleef <ds@schleef.org> | 2003-11-05 03:59:53 +0000 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2003-11-05 03:59:53 +0000 |
commit | 8a6efa6f0557f87f859d7bc944043510680649bc (patch) | |
tree | f1e9d94550aaa70ff509f62eac5ecd5577043875 /gst-libs/gst | |
parent | cd484eb01ae28d14400c26616132e9cc92919d64 (diff) | |
download | gstreamer-plugins-bad-8a6efa6f0557f87f859d7bc944043510680649bc.tar.gz |
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')
-rw-r--r-- | gst-libs/gst/video/video.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/gst-libs/gst/video/video.h b/gst-libs/gst/video/video.h index 9ff57f780..dd9ac76fb 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 |