[vlc-devel] [PATCH] va: AV_PIX_FMT_D3D11VA_VLD was added in 56.25.0

Steve Lhomme robux4 at gmail.com
Sun Jun 7 09:18:24 CEST 2015


---
fixes compilation of buildbot
---
 modules/codec/avcodec/va.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/codec/avcodec/va.c b/modules/codec/avcodec/va.c
index d412cb5..5e06b76 100644
--- a/modules/codec/avcodec/va.c
+++ b/modules/codec/avcodec/va.c
@@ -43,7 +43,7 @@ vlc_fourcc_t vlc_va_GetChroma(enum PixelFormat hwfmt, enum PixelFormat swfmt)
         case AV_PIX_FMT_DXVA2_VLD:
             return VLC_CODEC_D3D9_OPAQUE;
 
-#if (LIBAVUTIL_VERSION_INT >= AV_VERSION_INT(54, 13, 1))
+#if (LIBAVUTIL_VERSION_INT >= AV_VERSION_INT(56, 25, 0))
         case AV_PIX_FMT_D3D11VA_VLD:
             return VLC_CODEC_D3D11_OPAQUE;
 #endif
-- 
2.4.2




More information about the vlc-devel mailing list