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/gstrtpL16parse.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gst/rtp/gstrtpL16parse.c') diff --git a/gst/rtp/gstrtpL16parse.c b/gst/rtp/gstrtpL16parse.c index fc3355c0..832bb23d 100644 --- a/gst/rtp/gstrtpL16parse.c +++ b/gst/rtp/gstrtpL16parse.c @@ -146,11 +146,11 @@ gst_rtpL16parse_init (GstRtpL16Parse * rtpL16parse) void gst_rtpL16parse_ntohs (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