gdppay: dataprotocol: drop bogus const

Doesn't really make sense given that we map
it and possibly merge memories and such.
This commit is contained in:
Tim-Philipp Müller 2014-12-13 15:19:16 +00:00
parent 68e77265a0
commit 3853f8c070
2 changed files with 3 additions and 3 deletions

View File

@ -128,7 +128,7 @@ G_STMT_START { \
/*** HELPER FUNCTIONS ***/ /*** HELPER FUNCTIONS ***/
static gboolean 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) guint * length, guint8 ** header, GstDPVersion version)
{ {
guint8 *h; guint8 *h;
@ -351,7 +351,7 @@ gst_dp_header_payload_type (const guint8 * header)
/*** PACKETIZER FUNCTIONS ***/ /*** PACKETIZER FUNCTIONS ***/
static gboolean 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) guint * length, guint8 ** header)
{ {
return gst_dp_header_from_buffer_any (buffer, flags, length, header, return gst_dp_header_from_buffer_any (buffer, flags, length, header,

View File

@ -97,7 +97,7 @@ typedef enum {
GST_DP_PAYLOAD_EVENT_NONE = 64, GST_DP_PAYLOAD_EVENT_NONE = 64,
} GstDPPayloadType; } GstDPPayloadType;
typedef gboolean (*GstDPHeaderFromBufferFunction) (const GstBuffer * buffer, typedef gboolean (*GstDPHeaderFromBufferFunction) (GstBuffer * buffer,
GstDPHeaderFlag flags, GstDPHeaderFlag flags,
guint * length, guint * length,
guint8 ** header); guint8 ** header);