From 333468b5d448062b40c428e5c3b95dcb8159807c Mon Sep 17 00:00:00 2001 From: Zeeshan Ali Date: Sun, 13 Jul 2003 00:20:44 +0000 Subject: GSM -> RTP and viceversa Original commit message from CVS: GSM -> RTP and viceversa --- gst/rtp/gstrtpL16pay.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gst/rtp/gstrtpL16pay.c') diff --git a/gst/rtp/gstrtpL16pay.c b/gst/rtp/gstrtpL16pay.c index 71e2ac30..c4468c56 100644 --- a/gst/rtp/gstrtpL16pay.c +++ b/gst/rtp/gstrtpL16pay.c @@ -164,11 +164,11 @@ gst_rtpL16enc_sinkconnect (GstPad * pad, GstCaps * caps) void gst_rtpL16enc_htons (GstBuffer *buf) { - guint16 *i, *len; + gint16 *i, *len; /* FIXME: is this code correct or even sane at all? */ - i = (guint16 *) GST_BUFFER_DATA(buf); - len = i + GST_BUFFER_SIZE (buf) / sizeof (guint16 *); + i = (gint16 *) GST_BUFFER_DATA(buf); + len = i + GST_BUFFER_SIZE (buf) / sizeof (gint16 *); for (; i