From: Johan Hedberg <johan.hedberg@gmail.com>
To: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: [PATCH] Fix crash on gstreamer plugin if device doesn't support sbc
Date: Mon, 13 Sep 2010 16:21:16 +0300 [thread overview]
Message-ID: <20100913132116.GA6381@jh-x301> (raw)
In-Reply-To: <1284381611-17203-1-git-send-email-luiz.dentz@gmail.com>
Hi Luiz,
On Mon, Sep 13, 2010, Luiz Augusto von Dentz wrote:
> audio/gstavdtpsink.c | 3 +++
> 1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/audio/gstavdtpsink.c b/audio/gstavdtpsink.c
> index f0e5b76..b8c8832 100644
> --- a/audio/gstavdtpsink.c
> +++ b/audio/gstavdtpsink.c
> @@ -448,6 +448,9 @@ static GstStructure *gst_avdtp_sink_parse_sbc_caps(
> GValue *list;
> gboolean mono, stereo;
>
> + if (sbc == NULL)
> + return NULL;
> +
> structure = gst_structure_empty_new("audio/x-sbc");
> value = g_value_init(g_new0(GValue, 1), G_TYPE_STRING);
>
The patch has been pushed upstream. Thanks.
Johan
prev parent reply other threads:[~2010-09-13 13:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-13 12:40 [PATCH] Fix crash on gstreamer plugin if device doesn't support sbc Luiz Augusto von Dentz
2010-09-13 13:21 ` Johan Hedberg [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100913132116.GA6381@jh-x301 \
--to=johan.hedberg@gmail.com \
--cc=linux-bluetooth@vger.kernel.org \
--cc=luiz.dentz@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).