mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 12:32:29 +00:00
registry: remove unused function
Actually, there was two functions with the same name, but only one was used. https://bugzilla.gnome.org/show_bug.cgi?id=611692
This commit is contained in:
parent
5c01dcb1f7
commit
57d5db424c
1 changed files with 0 additions and 12 deletions
|
@ -106,18 +106,6 @@ gst_registry_binary_cache_init (GstRegistry * registry, const char *location)
|
|||
return cache;
|
||||
}
|
||||
|
||||
static int
|
||||
gst_registry_binary_cache_write (BinaryRegistryCache * cache,
|
||||
unsigned long offset, const void *data, int length)
|
||||
{
|
||||
cache->len = MAX (offset + length, cache->len);
|
||||
cache->mem = g_realloc (cache->mem, cache->len);
|
||||
|
||||
memcpy (cache->mem + offset, data, length);
|
||||
|
||||
return length;
|
||||
}
|
||||
|
||||
static gboolean
|
||||
gst_registry_binary_cache_finish (BinaryRegistryCache * cache, gboolean success)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue