mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 11:11:08 +00:00
next time someone tells me to use the gst macros because they are better, they'd better be correct, damnit
Original commit message from CVS: next time someone tells me to use the gst macros because they are better, they'd better be correct, damnit
This commit is contained in:
parent
395c4b195b
commit
120f0271ac
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ type_as_function ## _get_type (void) \
|
|||
#define GST_READ_UINT8(data) (_GST_GET (data, 0, 8, 0))
|
||||
|
||||
#define _GST_PUT(__data, __idx, __size, __shift, __num) \
|
||||
(((guint8 *) (__data))[__idx] = (((guint##size) __num) >> __shift) & 0xff)
|
||||
(((guint8 *) (__data))[__idx] = (((guint##__size) __num) >> __shift) & 0xff)
|
||||
|
||||
#define GST_WRITE_UINT64_BE(data, num) do { \
|
||||
_GST_PUT (data, 0, 64, 56, num); \
|
||||
|
|
Loading…
Reference in a new issue