gdppay: dataprotocol: drop bogus const
authorTim-Philipp Müller <tim@centricular.com>
Sat, 13 Dec 2014 15:19:16 +0000 (15:19 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Fri, 26 Dec 2014 13:44:29 +0000 (13:44 +0000)
Doesn't really make sense given that we map
it and possibly merge memories and such.

gst/gdp/dataprotocol.c
gst/gdp/dataprotocol.h

index 721cc60c647335adf2744b6649d8fb846fd392ce..0afd41054be29c11a779827db0be30aa27b3c613 100644 (file)
@@ -128,7 +128,7 @@ G_STMT_START {                                                      \
 /*** HELPER FUNCTIONS ***/
 
 static gboolean
-gst_dp_header_from_buffer_any (const GstBuffer * buffer, GstDPHeaderFlag flags,
+gst_dp_header_from_buffer_any (GstBuffer * buffer, GstDPHeaderFlag flags,
     guint * length, guint8 ** header, GstDPVersion version)
 {
   guint8 *h;
@@ -351,7 +351,7 @@ gst_dp_header_payload_type (const guint8 * header)
 /*** PACKETIZER FUNCTIONS ***/
 
 static gboolean
-gst_dp_header_from_buffer_1_0 (const GstBuffer * buffer, GstDPHeaderFlag flags,
+gst_dp_header_from_buffer_1_0 (GstBuffer * buffer, GstDPHeaderFlag flags,
     guint * length, guint8 ** header)
 {
   return gst_dp_header_from_buffer_any (buffer, flags, length, header,
index 3812ff035c4d201e1ed91ac6f051da3017b62ce6..1370c655746a765d2bea6dff59b1b22d94e030f9 100644 (file)
@@ -97,7 +97,7 @@ typedef enum {
   GST_DP_PAYLOAD_EVENT_NONE      = 64,
 } GstDPPayloadType;
 
-typedef gboolean (*GstDPHeaderFromBufferFunction) (const GstBuffer * buffer,
+typedef gboolean (*GstDPHeaderFromBufferFunction) (GstBuffer * buffer,
                                                    GstDPHeaderFlag flags,
                                                    guint * length,
                                                    guint8 ** header);