[vlc-commits] bluray: fix compilation as C11

Rémi Denis-Courmont git at videolan.org
Wed Nov 19 16:25:39 CET 2014


vlc/vlc-2.2 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Oct  2 20:44:13 2014 +0300| [fb8741292e5200371a87ed984336a1b704cb50de] | committer: Rémi Denis-Courmont

bluray: fix compilation as C11

(cherry picked from commit 678a61d1b9420462da2115763dfb284cc12074b8)

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

 modules/access/bluray.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/access/bluray.c b/modules/access/bluray.c
index 86d5cf9..a11ddd2 100644
--- a/modules/access/bluray.c
+++ b/modules/access/bluray.c
@@ -878,7 +878,7 @@ static void blurayInitOverlay(demux_t *p_demux, int plane, int width, int height
         return;
     }
     /* two references: vout + demux */
-    ov->released_once = ATOMIC_FLAG_INIT;
+    atomic_flag_clear(&ov->released_once);
 
     p_upd_sys->p_overlay = ov;
     subpicture_updater_t updater = {



More information about the vlc-commits mailing list