[vlc-commits] D3D11va: fix fix compilation on older libavcodec

Steve Lhomme git at videolan.org
Thu May 12 16:39:04 CEST 2016


vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | 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 <jb at videolan.org>

> 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 );
         }



More information about the vlc-commits mailing list