mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
memory: small cleanup
This commit is contained in:
parent
0ddb33bb4c
commit
1b52aca7ea
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue