From bb23b9a3a243290b6feabbe8c745fef97a06ea33 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Mon, 7 Apr 2003 18:43:25 +0000 Subject: 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. --- ext/ivorbis/vorbis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/ivorbis/vorbis.c') 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; -- cgit v1.2.1