diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2009-05-08 10:31:12 +0200 |
---|---|---|
committer | Wim Taymans <wim@metal.(none)> | 2009-05-08 10:31:12 +0200 |
commit | ee1f1ae5d54a43eb36d8dbc4d4f7b95d84bb6a6d (patch) | |
tree | d0a6e5a7b62a493dc399bb75e1c3895146537c86 /gst/rtp/gstrtpjpegpay.c | |
parent | bdf1698f35b8ba69837451c937db9fadc4428081 (diff) |
rtpjpegpay: we only need to swap bits on LE
Diffstat (limited to 'gst/rtp/gstrtpjpegpay.c')
-rw-r--r-- | 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 b7080d37..61ecd56e 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; |