[vlc-commits] vt_utils: fix build
Steve Lhomme
git at videolan.org
Mon Jul 9 09:44:13 CEST 2018
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Mon Jul 9 09:43:40 2018 +0200| [bd94f108cca41e6ebd4ebbcc701a49d63ca72bbc] | committer: Steve Lhomme
vt_utils: fix build
after 0fd485e7a10f7b594d1e4bd81f7bb6562e03f3da
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=bd94f108cca41e6ebd4ebbcc701a49d63ca72bbc
---
modules/codec/vt_utils.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/codec/vt_utils.c b/modules/codec/vt_utils.c
index 6c915d802f..88224c4e5f 100644
--- a/modules/codec/vt_utils.c
+++ b/modules/codec/vt_utils.c
@@ -91,7 +91,7 @@ cvpxpic_attach_common(picture_t *p_pic, CVPixelBufferRef cvpx,
ctx->s.copy = cvpxpic_copy_cb;
ctx->cvpx = CVPixelBufferRetain(cvpx);
ctx->nb_fields = p_pic->i_nb_fields;
- atomic_init(&ctx->ref_count, 1);
+ vlc_atomic_rc_init(&ctx->rc);
ctx->on_released_cb = on_released_cb;
ctx->on_released_data = on_released_data;
More information about the vlc-commits
mailing list