From 88bd7c61a76f32ea6cf6b54367dc8ebe221b4966 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Sun, 12 Aug 2018 20:07:02 +0100 Subject: [PATCH] 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 --- libs/gst/base/gstbitwriter.h | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/libs/gst/base/gstbitwriter.h b/libs/gst/base/gstbitwriter.h index e647e94..c2b4a70 100644 --- a/libs/gst/base/gstbitwriter.h +++ b/libs/gst/base/gstbitwriter.h @@ -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]; }; -- 2.7.4