filesrc: g_memmove() is deprecated
authorРуслан Ижбулатов <lrn1986@gmail.com>
Sun, 4 May 2014 13:32:46 +0000 (13:32 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Sun, 4 May 2014 13:49:36 +0000 (14:49 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=712811

plugins/elements/gstfilesrc.c

index 536ea6b..dd4e811 100644 (file)
@@ -630,7 +630,7 @@ gst_file_src_uri_set_uri (GstURIHandler * handler, const gchar * uri,
    * form. Correct this.
    */
   if (location[0] == '\\' && location[1] == '\\' && location[2] == '\\')
-    g_memmove (location, location + 1, strlen (location + 1) + 1);
+    memmove (location, location + 1, strlen (location + 1) + 1);
 #endif
 
   ret = gst_file_src_set_location (src, location);