From af874cb250bd217c7417f3c834bd578146c66a3b Mon Sep 17 00:00:00 2001 From: David Schleef Date: Mon, 7 Apr 2003 18:43:20 +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/dv/gstdvdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/dv') 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 */ -- cgit