summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/dv/gstdvdec.c2
-rw-r--r--ext/flac/gstflac.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/dv/gstdvdec.c b/ext/dv/gstdvdec.c
index dc51c2e3..15aeadda 100644
--- a/ext/dv/gstdvdec.c
+++ b/ext/dv/gstdvdec.c
@@ -144,7 +144,7 @@ GST_PAD_TEMPLATE_FACTORY ( audio_src_temp,
static GstCaps*
dv_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)));
GstCaps *new = NULL;
/* check for DIF and DV flag */
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;