Commit 88bd7c61 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠

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
parent fffc3128
......@@ -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];
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment