$OpenBSD: patch-plugins_audioscrobbler_rb-lastfm-gst-src_c,v 1.1 2008/05/14 09:41:56 jasper Exp $ --- plugins/audioscrobbler/rb-lastfm-gst-src.c.orig Sat Feb 24 16:27:46 2007 +++ plugins/audioscrobbler/rb-lastfm-gst-src.c Tue May 13 12:22:47 2008 @@ -107,7 +107,7 @@ rb_lastfm_src_pad_probe_cb (GstPad *pad, GstBuffer *bu char *s; static char sync[5] = "SYNC"; - s = memmem (data, GST_BUFFER_SIZE (buffer), sync, 4); + s = strstr (data, sync); if (s != NULL) { GstMessage *msg; GstStructure *s;