[vlc-commits] va: AV_PIX_FMT_D3D11VA_VLD version guards
Steve Lhomme
git at videolan.org
Thu Jun 11 23:30:16 CEST 2015
vlc | branch: master | Steve Lhomme <robux4 at gmail.com> | Thu Jun 11 10:03:38 2015 +0200| [8a550d71ffef1afc7d97e41d7d72e025c133ec62] | committer: Jean-Baptiste Kempf
va: AV_PIX_FMT_D3D11VA_VLD version guards
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8a550d71ffef1afc7d97e41d7d72e025c133ec62
---
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..5153cf7 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_CHECK(56, 25, 0, 41, 100)
case AV_PIX_FMT_D3D11VA_VLD:
return VLC_CODEC_D3D11_OPAQUE;
#endif
More information about the vlc-commits
mailing list