[vlc-devel] [PATCH] directx_va: use vlc_atomic.h instead of stdatomic.h

Steve Lhomme robux4 at videolabs.io
Mon Jul 3 09:34:23 CEST 2017


---
 modules/codec/avcodec/directx_va.h          | 2 +-
 modules/codec/avcodec/va_surface_internal.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/codec/avcodec/directx_va.h b/modules/codec/avcodec/directx_va.h
index df745298f3..65a003bc07 100644
--- a/modules/codec/avcodec/directx_va.h
+++ b/modules/codec/avcodec/directx_va.h
@@ -40,7 +40,7 @@
 #include "va.h"
 
 #include <unknwn.h>
-#include <stdatomic.h>
+#include <vlc_atomic.h>
 
 #include "va_surface_internal.h"
 
diff --git a/modules/codec/avcodec/va_surface_internal.h b/modules/codec/avcodec/va_surface_internal.h
index 7a566dbee8..96a5cc0e93 100644
--- a/modules/codec/avcodec/va_surface_internal.h
+++ b/modules/codec/avcodec/va_surface_internal.h
@@ -32,7 +32,7 @@
 #include <libavcodec/avcodec.h>
 #include "va.h"
 
-#include <stdatomic.h>
+#include <vlc_atomic.h>
 
 /* */
 typedef struct vlc_va_surface_t vlc_va_surface_t;
-- 
2.12.1



More information about the vlc-devel mailing list