From 2a4b6618a7fae5895c33752207fef2813d899cdf Mon Sep 17 00:00:00 2001 From: Steve Baker Date: Fri, 27 Jul 2001 13:12:13 +0000 Subject: [PATCH] compile fix when atomic refcounting is not available Original commit message from CVS: compile fix when atomic refcounting is not available --- gst/gstbufferpool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/gstbufferpool.c b/gst/gstbufferpool.c index 8d81f2cf0d..20c5a5701e 100644 --- a/gst/gstbufferpool.c +++ b/gst/gstbufferpool.c @@ -83,7 +83,7 @@ gst_buffer_pool_ref (GstBufferPool *pool) #else g_return_if_fail (pool->refcount > 0); GST_BUFFER_POOL_LOCK (pool); - buffer->refcount++; + pool->refcount++; GST_BUFFER_POOL_UNLOCK (pool); #endif }