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

Steve Lhomme git at videolan.org
Thu May 12 16:41:30 CEST 2016


vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Thu May 12 16:31:44 2016 +0200| [20cc6a01b66840819588ff1f0f6a31efa5a38aa4] | 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=20cc6a01b66840819588ff1f0f6a31efa5a38aa4
---

 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