--- audio/gstbluetooth.c 2007-08-28 17:59:36.000000000 +0200 +++ audio/gstbluetooth.c.patched 2007-09-29 16:17:34.000000000 +0200 @@ -37,6 +37,8 @@ static void sbc_typefind(GstTypeFind *tf, gpointer ignore) { guint8 *data = gst_type_find_peek(tf, 0, 1); + if ( !data ) /* Don't crash on empty file */ + return; if (*data != 0x9c) /* SBC syncword */ return;