compile fix when atomic refcounting is not available
authorSteve Baker <steve@stevebaker.org>
Fri, 27 Jul 2001 13:12:13 +0000 (13:12 +0000)
committerSteve Baker <steve@stevebaker.org>
Fri, 27 Jul 2001 13:12:13 +0000 (13:12 +0000)
Original commit message from CVS:
compile fix when atomic refcounting is not available

gst/gstbufferpool.c

index 8d81f2c..20c5a57 100644 (file)
@@ -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
 }