bluez: avdtp: Fix incorrect gchar buffer allocation
The code was allocating an array of gchar pointers, where an array of gchar is expected.
This commit is contained in:
parent
6c31678d8b
commit
54b8979d67
@ -1137,7 +1137,7 @@ gst_avdtp_sink_update_caps (GstAvdtpSink * self)
|
||||
static gboolean
|
||||
gst_avdtp_sink_get_capabilities (GstAvdtpSink * self)
|
||||
{
|
||||
gchar *buf[BT_SUGGESTED_BUFFER_SIZE];
|
||||
gchar buf[BT_SUGGESTED_BUFFER_SIZE];
|
||||
struct bt_get_capabilities_req *req = (void *) buf;
|
||||
struct bt_get_capabilities_rsp *rsp = (void *) buf;
|
||||
int err;
|
||||
|
Loading…
x
Reference in New Issue
Block a user