mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 15:27:07 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -1137,7 +1137,7 @@ gst_avdtp_sink_update_caps (GstAvdtpSink * self)
|
||||||
static gboolean
|
static gboolean
|
||||||
gst_avdtp_sink_get_capabilities (GstAvdtpSink * self)
|
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_req *req = (void *) buf;
|
||||||
struct bt_get_capabilities_rsp *rsp = (void *) buf;
|
struct bt_get_capabilities_rsp *rsp = (void *) buf;
|
||||||
int err;
|
int err;
|
||||||
|
|
Loading…
Reference in a new issue