summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>2020-03-26 22:40:40 +0100
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>2020-03-27 10:35:31 +0100
commitb1f859116d91e3b0882c1effe70d0a16f7d34377 (patch)
tree177b54bf78da113afb0865fb68a8c3bddbc5480b /gst
parent4c9f49437d5aa03a27a6b08173a2c1e1e8858a23 (diff)
vaapivideometa: remove compiler warning
Diffstat (limited to 'gst')
-rw-r--r--gst/vaapi/gstvaapivideometa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/vaapi/gstvaapivideometa.c b/gst/vaapi/gstvaapivideometa.c
index 68ee20e0..53a48dd9 100644
--- a/gst/vaapi/gstvaapivideometa.c
+++ b/gst/vaapi/gstvaapivideometa.c
@@ -432,8 +432,8 @@ gst_vaapi_video_meta_replace (GstVaapiVideoMeta ** old_meta_ptr,
if (new_meta)
gst_vaapi_video_meta_ref (new_meta);
- while (!g_atomic_pointer_compare_and_exchange ((gpointer *) old_meta_ptr,
- old_meta, new_meta))
+ while (!g_atomic_pointer_compare_and_exchange (old_meta_ptr, old_meta,
+ new_meta))
old_meta = g_atomic_pointer_get ((gpointer *) old_meta_ptr);
if (old_meta)