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:
0ddb33b
)
memory: small cleanup
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Wed, 4 Jul 2012 08:12:43 +0000
(10:12 +0200)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Thu, 5 Jul 2012 09:19:16 +0000
(11:19 +0200)
gst/gstmemory.c
patch
|
blob
|
history
diff --git
a/gst/gstmemory.c
b/gst/gstmemory.c
index
afe68d9
..
314c95f
100644
(file)
--- a/
gst/gstmemory.c
+++ b/
gst/gstmemory.c
@@
-580,7
+580,7
@@
gst_memory_unlock (GstMemory * mem, GstLockFlags flags)
if (access_mode & GST_LOCK_FLAG_EXCLUSIVE) {
/* shared counter */
g_return_if_fail (state >= SHARE_ONE);
- newstate
= state -
SHARE_ONE;
+ newstate
-=
SHARE_ONE;
access_mode &= ~GST_LOCK_FLAG_EXCLUSIVE;
}