mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-02 16:52:42 +00:00
bitwriter: fix g-i scanner warning
gstbitwriter.h:45: Warning: GstBase: "@bit_capacity" parameter unexpected at this location: * @bit_capacity: Capacity of the allocated @data
This commit is contained in:
parent
fffc312893
commit
88bd7c61a7
1 changed files with 2 additions and 8 deletions
|
@ -41,12 +41,6 @@ typedef struct _GstBitWriter GstBitWriter;
|
||||||
* @data: Allocated @data for bit writer to write
|
* @data: Allocated @data for bit writer to write
|
||||||
* @bit_size: Size of written @data in bits
|
* @bit_size: Size of written @data in bits
|
||||||
*
|
*
|
||||||
* Private:
|
|
||||||
* @bit_capacity: Capacity of the allocated @data
|
|
||||||
* @auto_grow: @data space can auto grow
|
|
||||||
* @destroy_data: The #GDestroyNotify function called with #data when the memory
|
|
||||||
* is freed
|
|
||||||
*
|
|
||||||
* A bit writer instance.
|
* A bit writer instance.
|
||||||
*/
|
*/
|
||||||
struct _GstBitWriter
|
struct _GstBitWriter
|
||||||
|
@ -55,8 +49,8 @@ struct _GstBitWriter
|
||||||
guint bit_size;
|
guint bit_size;
|
||||||
|
|
||||||
/*< private >*/
|
/*< private >*/
|
||||||
guint bit_capacity;
|
guint bit_capacity; /* Capacity of the allocated data */
|
||||||
gboolean auto_grow;
|
gboolean auto_grow; /* Whether space can auto grow */
|
||||||
gboolean owned;
|
gboolean owned;
|
||||||
gpointer _gst_reserved[GST_PADDING];
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue