summaryrefslogtreecommitdiffstats
path: root/ext/dv
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/dv
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/dv')
-rw-r--r--ext/dv/gstdvdec.c2
1 files changed, 1 insertions, 1 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 */