[gst-cvs] gst-plugins-good: rtpjpegpay: we only need to swap bits on LE
Wim Taymans
wtay at kemper.freedesktop.org
Fri May 8 01:31:52 PDT 2009
Module: gst-plugins-good
Branch: master
Commit: ee1f1ae5d54a43eb36d8dbc4d4f7b95d84bb6a6d
URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=ee1f1ae5d54a43eb36d8dbc4d4f7b95d84bb6a6d
Author: Wim Taymans <wim.taymans at collabora.co.uk>
Date: Fri May 8 10:31:12 2009 +0200
rtpjpegpay: we only need to swap bits on LE
---
gst/rtp/gstrtpjpegpay.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/gst/rtp/gstrtpjpegpay.c b/gst/rtp/gstrtpjpegpay.c
index b7080d3..61ecd56 100644
--- a/gst/rtp/gstrtpjpegpay.c
+++ b/gst/rtp/gstrtpjpegpay.c
@@ -145,13 +145,8 @@ typedef struct _RtpJpegHeader RtpJpegHeader;
*/
struct _RtpJpegHeader
{
-#if (G_BYTE_ORDER == G_LITTLE_ENDIAN)
guint type_spec:8;
guint offset:24;
-#else
- guint offset:24;
- guint type_spec:8;
-#endif
guint8 type;
guint8 q;
guint8 width;
More information about the Gstreamer-commits
mailing list