summaryrefslogtreecommitdiffstats
path: root/gst/rtp/gstrtpL16depay.c
diff options
context:
space:
mode:
authorZeeshan Ali <zeenix@gmail.com>2003-07-13 00:20:44 +0000
committerZeeshan Ali <zeenix@gmail.com>2003-07-13 00:20:44 +0000
commit333468b5d448062b40c428e5c3b95dcb8159807c (patch)
treeddaa5d09eae9309ef88260439ef4379d26ed9af8 /gst/rtp/gstrtpL16depay.c
parent8c4aec99981a02e6fe6fdf61d4156746131a442d (diff)
GSM -> RTP and viceversa
Original commit message from CVS: GSM -> RTP and viceversa
Diffstat (limited to 'gst/rtp/gstrtpL16depay.c')
-rw-r--r--gst/rtp/gstrtpL16depay.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gst/rtp/gstrtpL16depay.c b/gst/rtp/gstrtpL16depay.c
index fc3355c0..832bb23d 100644
--- a/gst/rtp/gstrtpL16depay.c
+++ b/gst/rtp/gstrtpL16depay.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<len; i++) {
*i = g_ntohs (*i);