summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2003-04-07 18:43:25 +0000
committerDavid Schleef <ds@schleef.org>2003-04-07 18:43:25 +0000
commitbb23b9a3a243290b6feabbe8c745fef97a06ea33 (patch)
tree75f1ca4b0ce5d0b6aa9a81e28b3ee79602c12764 /ext
parent6b32ca5b1a9e4e715dbcb17416f97f9c0a592146 (diff)
downloadgst-plugins-bad-bb23b9a3a243290b6feabbe8c745fef97a06ea33.tar.gz
gst-plugins-bad-bb23b9a3a243290b6feabbe8c745fef97a06ea33.tar.bz2
gst-plugins-bad-bb23b9a3a243290b6feabbe8c745fef97a06ea33.zip
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')
-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;