[vlc-commits] bluray: fix compilation as C11

Rémi Denis-Courmont git at videolan.org
Thu Oct 2 19:50:39 CEST 2014


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

bluray: fix compilation as C11

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

 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 7ca6f2f..8540735 100644
--- a/modules/access/bluray.c
+++ b/modules/access/bluray.c
@@ -880,7 +880,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