mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
similar fix for count ref
Original commit message from CVS: similar fix for count ref
This commit is contained in:
parent
0631f3a082
commit
98d9527ac7
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ void
|
|||
gst_buffer_pool_ref_by_count (GstBufferPool *pool, int count)
|
||||
{
|
||||
g_return_if_fail (pool != NULL);
|
||||
g_return_if_fail (count > 0);
|
||||
g_return_if_fail (count >= 0);
|
||||
|
||||
#ifdef HAVE_ATOMIC_H
|
||||
g_return_if_fail (atomic_read (&(pool->refcount)) > 0);
|
||||
|
|
Loading…
Reference in a new issue