mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 13:41:48 +00:00
fix for ppc, hopefully
Original commit message from CVS: fix for ppc, hopefully
This commit is contained in:
parent
38565eafdb
commit
faf3c9d652
1 changed files with 1 additions and 1 deletions
|
@ -165,7 +165,7 @@ gst_mini_object_copy (const GstMiniObject * mini_object)
|
||||||
gboolean
|
gboolean
|
||||||
gst_mini_object_is_writable (const GstMiniObject * mini_object)
|
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);
|
((mini_object->flags & GST_MINI_OBJECT_FLAG_READONLY) == 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue