mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 03:29:50 +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
|
||||
* @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.
|
||||
*/
|
||||
struct _GstBitWriter
|
||||
|
@ -55,8 +49,8 @@ struct _GstBitWriter
|
|||
guint bit_size;
|
||||
|
||||
/*< private >*/
|
||||
guint bit_capacity;
|
||||
gboolean auto_grow;
|
||||
guint bit_capacity; /* Capacity of the allocated data */
|
||||
gboolean auto_grow; /* Whether space can auto grow */
|
||||
gboolean owned;
|
||||
gpointer _gst_reserved[GST_PADDING];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue