rtpbuffer: add a const where appropriate
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Fri, 3 Oct 2014 11:28:30 +0000 (12:28 +0100)
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Thu, 30 Oct 2014 11:42:02 +0000 (11:42 +0000)
gst-libs/gst/rtp/gstrtpbuffer.c

index 6ff9256..d67580c 100644 (file)
@@ -1520,7 +1520,7 @@ gst_rtp_buffer_add_extension_onebyte_header (GstRTPBuffer * rtp, guint8 id,
 
 
 static guint
-get_twobytes_header_end_offset (guint8 * pdata, guint wordlen)
+get_twobytes_header_end_offset (const guint8 * pdata, guint wordlen)
 {
   guint offset = 0;
   guint bytelen = wordlen * 4;