filesrc: g_memmove() is deprecated

https://bugzilla.gnome.org/show_bug.cgi?id=712811
This commit is contained in:
Руслан Ижбулатов 2014-05-04 13:32:46 +00:00 committed by Tim-Philipp Müller
parent b963319964
commit 45c0831835

View 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);