mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-06 06:22:29 +00:00
gstvaapiminiobject.c: fix clang 10 warnings
the typesystem checks in g_atomic_pointer_compare_and_exchange seem to trigger some false positives with clang 10 similar to gstreamer!584 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/377>
This commit is contained in:
parent
887ba40e65
commit
89580cc230
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ gst_vaapi_mini_object_replace (GstVaapiMiniObject ** old_object_ptr,
|
|||
gst_vaapi_mini_object_ref_internal (new_object);
|
||||
|
||||
while (!g_atomic_pointer_compare_and_exchange ((gpointer *) old_object_ptr,
|
||||
old_object, new_object))
|
||||
(gpointer) old_object, new_object))
|
||||
old_object = g_atomic_pointer_get ((gpointer *) old_object_ptr);
|
||||
|
||||
if (old_object)
|
||||
|
|
Loading…
Reference in a new issue