projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdf1698
)
rtpjpegpay: we only need to swap bits on LE
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Fri, 8 May 2009 08:31:12 +0000
(10:31 +0200)
committer
Wim Taymans
<wim@metal.(none)>
Fri, 8 May 2009 08:31:12 +0000
(10:31 +0200)
gst/rtp/gstrtpjpegpay.c
patch
|
blob
|
history
diff --git
a/gst/rtp/gstrtpjpegpay.c
b/gst/rtp/gstrtpjpegpay.c
index
b7080d3
..
61ecd56
100644
(file)
--- 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;