summaryrefslogtreecommitdiffstats
path: root/ext/flac/gstflac.c
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2003-04-07 18:43:20 +0000
committerDavid Schleef <ds@schleef.org>2003-04-07 18:43:20 +0000
commitaf874cb250bd217c7417f3c834bd578146c66a3b (patch)
tree5e86d5357e88fd4c5abfc55585f0dc2dd884d2f2 /ext/flac/gstflac.c
parenta1fa51068b3835690c3234061dd32f9d07a954d1 (diff)
Fix a bunch of endianness conversions that were done as long instead of int32. Should go into 0.6.1.
Original commit message from CVS: Fix a bunch of endianness conversions that were done as long instead of int32. Should go into 0.6.1.
Diffstat (limited to 'ext/flac/gstflac.c')
-rw-r--r--ext/flac/gstflac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/flac/gstflac.c b/ext/flac/gstflac.c
index 6614f865..e955c2cc 100644
--- a/ext/flac/gstflac.c
+++ b/ext/flac/gstflac.c
@@ -70,7 +70,7 @@ static GstTypeDefinition flacdefinition = {
static GstCaps*
flac_type_find (GstBuffer *buf, gpointer private)
{
- gulong head = GULONG_FROM_BE (*((gulong *)GST_BUFFER_DATA (buf)));
+ guint32 head = GUINT32_FROM_BE (*((guint32 *)GST_BUFFER_DATA (buf)));
if (head != 0x664C6143)
return NULL;