mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-29 05:01:23 +00:00
sdp: fix duplicate 'const' declaration warnings
https://bugzilla.gnome.org/show_bug.cgi?id=711258
This commit is contained in:
parent
ddf4ca2203
commit
a4996f133b
1 changed files with 3 additions and 3 deletions
|
@ -1383,7 +1383,7 @@ DEFINE_ARRAY_LEN (zones);
|
||||||
*
|
*
|
||||||
* Returns: a #GstSDPZone.
|
* Returns: a #GstSDPZone.
|
||||||
*/
|
*/
|
||||||
DEFINE_ARRAY_GETTER (zone, zones, const GstSDPZone);
|
DEFINE_ARRAY_GETTER (zone, zones, GstSDPZone);
|
||||||
|
|
||||||
#define DUP_ZONE(v, val) memcpy (v, val, sizeof (GstSDPZone))
|
#define DUP_ZONE(v, val) memcpy (v, val, sizeof (GstSDPZone))
|
||||||
#define FREE_ZONE(v) gst_sdp_zone_clear(v)
|
#define FREE_ZONE(v) gst_sdp_zone_clear(v)
|
||||||
|
@ -1546,7 +1546,7 @@ DEFINE_ARRAY_LEN (attributes);
|
||||||
*
|
*
|
||||||
* Returns: the #GstSDPAttribute at position @idx.
|
* Returns: the #GstSDPAttribute at position @idx.
|
||||||
*/
|
*/
|
||||||
DEFINE_ARRAY_GETTER (attribute, attributes, const GstSDPAttribute);
|
DEFINE_ARRAY_GETTER (attribute, attributes, GstSDPAttribute);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* gst_sdp_message_get_attribute_val_n:
|
* gst_sdp_message_get_attribute_val_n:
|
||||||
|
@ -1681,7 +1681,7 @@ DEFINE_ARRAY_LEN (medias);
|
||||||
*
|
*
|
||||||
* Returns: a #GstSDPMedia.
|
* Returns: a #GstSDPMedia.
|
||||||
*/
|
*/
|
||||||
DEFINE_ARRAY_GETTER (media, medias, const GstSDPMedia);
|
DEFINE_ARRAY_GETTER (media, medias, GstSDPMedia);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* gst_sdp_message_add_media:
|
* gst_sdp_message_add_media:
|
||||||
|
|
Loading…
Reference in a new issue