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:
0631f3a
)
similar fix for count ref
author
Thomas Vander Stichele
<thomas@apestaart.org>
Mon, 4 Feb 2002 22:41:23 +0000
(22:41 +0000)
committer
Thomas Vander Stichele
<thomas@apestaart.org>
Mon, 4 Feb 2002 22:41:23 +0000
(22:41 +0000)
Original commit message from CVS:
similar fix for count ref
gst/gstbufferpool.c
patch
|
blob
|
history
diff --git
a/gst/gstbufferpool.c
b/gst/gstbufferpool.c
index
91ab9cd
..
d857f4b
100644
(file)
--- a/
gst/gstbufferpool.c
+++ b/
gst/gstbufferpool.c
@@
-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);