From: Luiz Augusto von Dentz <luiz.dentz-von@xxxxxxxxx> --- 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); -- 1.7.1 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html