bluez: Fix garbage return value in gst_avdtp_sink_audioservice_recv

This commit is contained in:
Szymon Janc 2011-05-09 15:26:07 +02:00 committed by Tim-Philipp Müller
parent d7ca6b81bb
commit 3a81025f2e

View file

@ -1839,7 +1839,7 @@ gst_avdtp_sink_audioservice_recv (GstAvdtpSink * self,
ssize_t bytes_read;
const char *type, *name;
uint16_t length;
int fd, err;
int fd, err = 0;
length = inmsg->length ? inmsg->length : BT_SUGGESTED_BUFFER_SIZE;