bluez: Fix garbage return value in gst_avdtp_sink_audioservice_recv
This commit is contained in:
parent
d7ca6b81bb
commit
3a81025f2e
@ -1839,7 +1839,7 @@ gst_avdtp_sink_audioservice_recv (GstAvdtpSink * self,
|
|||||||
ssize_t bytes_read;
|
ssize_t bytes_read;
|
||||||
const char *type, *name;
|
const char *type, *name;
|
||||||
uint16_t length;
|
uint16_t length;
|
||||||
int fd, err;
|
int fd, err = 0;
|
||||||
|
|
||||||
length = inmsg->length ? inmsg->length : BT_SUGGESTED_BUFFER_SIZE;
|
length = inmsg->length ? inmsg->length : BT_SUGGESTED_BUFFER_SIZE;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user