summaryrefslogtreecommitdiffstats
path: root/gst/rtp/gstrtpL16parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/rtp/gstrtpL16parse.c')
-rw-r--r--gst/rtp/gstrtpL16parse.c6
1 files changed, 3 insertions, 3 deletions
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<len; i++) {
*i = g_ntohs (*i);