[vlc-commits] chromecast: don't use atomic

Thomas Guillem git at videolan.org
Thu Feb 22 11:59:56 CET 2018


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue Feb 20 16:58:49 2018 +0100| [e1ab5812569b6df6f9a42cd4d60e7aac7f927c53] | committer: Thomas Guillem

chromecast: don't use atomic

msg are always sent locked.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e1ab5812569b6df6f9a42cd4d60e7aac7f927c53
---

 modules/stream_out/chromecast/chromecast.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/stream_out/chromecast/chromecast.h b/modules/stream_out/chromecast/chromecast.h
index 6808066ed0..3b8df10768 100644
--- a/modules/stream_out/chromecast/chromecast.h
+++ b/modules/stream_out/chromecast/chromecast.h
@@ -151,7 +151,7 @@ private:
     vlc_tls_creds_t *m_creds;
     vlc_tls_t *m_tls;
     unsigned m_receiver_requestId;
-    std::atomic_uint m_requestId;
+    unsigned m_requestId;
     std::string m_serverIp;
 };
 



More information about the vlc-commits mailing list