mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 08:41:07 +00:00
rtpjpegpay: we only need to swap bits on LE
This commit is contained in:
parent
bdf1698f35
commit
ee1f1ae5d5
1 changed files with 0 additions and 5 deletions
|
@ -145,13 +145,8 @@ typedef struct _RtpJpegHeader RtpJpegHeader;
|
||||||
*/
|
*/
|
||||||
struct _RtpJpegHeader
|
struct _RtpJpegHeader
|
||||||
{
|
{
|
||||||
#if (G_BYTE_ORDER == G_LITTLE_ENDIAN)
|
|
||||||
guint type_spec:8;
|
guint type_spec:8;
|
||||||
guint offset:24;
|
guint offset:24;
|
||||||
#else
|
|
||||||
guint offset:24;
|
|
||||||
guint type_spec:8;
|
|
||||||
#endif
|
|
||||||
guint8 type;
|
guint8 type;
|
||||||
guint8 q;
|
guint8 q;
|
||||||
guint8 width;
|
guint8 width;
|
||||||
|
|
Loading…
Reference in a new issue