projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10f3adf
)
memory: remove unused macros
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Mon, 9 Jul 2012 11:20:30 +0000
(13:20 +0200)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Mon, 9 Jul 2012 14:28:22 +0000
(16:28 +0200)
gst/gstmemory.c
patch
|
blob
|
history
diff --git
a/gst/gstmemory.c
b/gst/gstmemory.c
index
a784c92
..
60e5b90
100644
(file)
--- a/
gst/gstmemory.c
+++ b/
gst/gstmemory.c
@@
-107,13
+107,6
@@
static GstAllocator *_default_allocator;
/* our predefined allocators */
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 *
_gst_memory_copy (GstMemory * mem)
{