fix for ppc, hopefully

Original commit message from CVS:
fix for ppc, hopefully
This commit is contained in:
Thomas Vander Stichele 2005-06-29 16:45:58 +00:00
parent 38565eafdb
commit faf3c9d652

View file

@ -165,7 +165,7 @@ gst_mini_object_copy (const GstMiniObject * mini_object)
gboolean
gst_mini_object_is_writable (const GstMiniObject * mini_object)
{
return (g_atomic_int_get (&mini_object->refcount) == 1) &&
return (GST_MINI_OBJECT_REFCOUNT_VALUE (mini_object) == 1) &&
((mini_object->flags & GST_MINI_OBJECT_FLAG_READONLY) == 0);
}