summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/ivorbis/vorbis.c2
-rw-r--r--ext/tarkin/gsttarkin.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/ivorbis/vorbis.c b/ext/ivorbis/vorbis.c
index f6014bd8..b543f88f 100644
--- a/ext/ivorbis/vorbis.c
+++ b/ext/ivorbis/vorbis.c
@@ -85,7 +85,7 @@ static GstTypeDefinition vorbisdefinition = {
static GstCaps*
vorbis_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 != 0x4F676753)
return NULL;
diff --git a/ext/tarkin/gsttarkin.c b/ext/tarkin/gsttarkin.c
index 4f3a8141..fdee893a 100644
--- a/ext/tarkin/gsttarkin.c
+++ b/ext/tarkin/gsttarkin.c
@@ -69,7 +69,7 @@ static GstTypeDefinition tarkindefinition =
static GstCaps*
tarkin_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)));
/* FIXME */
return NULL;