memory: remove unused macros

This commit is contained in:
Wim Taymans 2012-07-09 13:20:30 +02:00
parent 10f3adfd9d
commit 6e7c469b48

View file

@ -107,13 +107,6 @@ static GstAllocator *_default_allocator;
/* our predefined allocators */ /* our predefined allocators */
static GstAllocator *_default_mem_impl; static GstAllocator *_default_mem_impl;
#define SHARE_ONE (1 << 16)
#define SHARE_MASK (~(SHARE_ONE - 1))
#define LOCK_ONE (GST_LOCK_FLAG_LAST)
#define FLAG_MASK (GST_LOCK_FLAG_LAST - 1)
#define LOCK_MASK ((SHARE_ONE - 1) - FLAG_MASK)
#define LOCK_FLAG_MASK (SHARE_ONE - 1)
static GstMemory * static GstMemory *
_gst_memory_copy (GstMemory * mem) _gst_memory_copy (GstMemory * mem)
{ {