vlc | branch: master | Steve Lhomme <[email protected]> | Thu May 12 16:31:44 
2016 +0200| [ff39fa6929931337d9ba893e8494131737fe1176] | committer: 
Jean-Baptiste Kempf

D3D11va: fix fix compilation on older libavcodec

Signed-off-by: Jean-Baptiste Kempf <[email protected]>

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

 modules/codec/avcodec/d3d11va.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/codec/avcodec/d3d11va.c b/modules/codec/avcodec/d3d11va.c
index 777111e..308a791 100644
--- a/modules/codec/avcodec/d3d11va.c
+++ b/modules/codec/avcodec/d3d11va.c
@@ -244,7 +244,7 @@ static int Extract(vlc_va_t *va, picture_t *output, uint8_t 
*data)
         assert(p_sys_out->texture != NULL);
         assert(p_sys_in->decoder == src);
 
-#if VLC_WINSTORE_APP && LIBAVCODEC_VERSION_CHECK(56, 2, 0, 3, 100)
+#if VLC_WINSTORE_APP && LIBAVCODEC_VERSION_CHECK(57, 2, 0, 3, 100)
         if( sys->context_mutex > 0 ) {
             WaitForSingleObjectEx( sys->context_mutex, INFINITE, FALSE );
         }

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to