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:
Thomas Vander Stichele 2004-05-20 14:01:45 +00:00
parent 395c4b195b
commit 120f0271ac

View file

@ -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); \