mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +00:00
Fix macro GST_FOURCC_ARGS - it assumed big endian ints
Original commit message from CVS: Fix macro GST_FOURCC_ARGS - it assumed big endian ints
This commit is contained in:
parent
dda34273e0
commit
22c2af5de1
1 changed files with 4 additions and 4 deletions
|
@ -63,10 +63,10 @@ typedef enum {
|
|||
|
||||
#define GST_FOURCC_FORMAT "%c%c%c%c"
|
||||
#define GST_FOURCC_ARGS(fourcc) \
|
||||
((GUINT32_FROM_LE(fourcc)>>24)&0xff), \
|
||||
((GUINT32_FROM_LE(fourcc)>>16)&0xff), \
|
||||
((GUINT32_FROM_LE(fourcc)>>8)&0xff), \
|
||||
(GUINT32_FROM_LE(fourcc)&0xff)
|
||||
((gchar) ((fourcc) &0xff)), \
|
||||
((gchar) (((fourcc)>>8 )&0xff)), \
|
||||
((gchar) (((fourcc)>>16)&0xff)), \
|
||||
((gchar) (((fourcc)>>24)&0xff))
|
||||
|
||||
#ifdef G_HAVE_ISO_VARARGS
|
||||
# define GST_PROPS_LIST(...) GST_PROPS_LIST_TYPE,__VA_ARGS__,NULL
|
||||
|
|
Loading…
Reference in a new issue