[vlc-commits] d3d11va: fix buffer overrun
Steve Lhomme
git at videolan.org
Tue Feb 20 10:03:34 CET 2018
vlc/vlc-3.0 | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue Feb 20 09:02:58 2018 +0100| [35c421e889c50ff1335bfc57ff5d0d852c8150ea] | committer: Hugo Beauzée-Luyssen
d3d11va: fix buffer overrun
CID #1465381
(cherry picked from commit 2d2494ffea0dcedfc7b2284ac9ab07b065d5e469)
Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=35c421e889c50ff1335bfc57ff5d0d852c8150ea
---
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 d14e2d2284..61765f6a6d 100644
--- a/modules/codec/avcodec/d3d11va.c
+++ b/modules/codec/avcodec/d3d11va.c
@@ -580,7 +580,7 @@ static int DxSetupOutput(vlc_va_t *va, const GUID *input, const video_format_t *
if (IsEqualGUID(input,&DXVA_ModeHEVC_VLD_Main10) && !CanUseIntelHEVC(va))
return VLC_EGENERIC;
- DXGI_FORMAT processorInput[4];
+ DXGI_FORMAT processorInput[5];
int idx = 0;
if ( sys->render != DXGI_FORMAT_UNKNOWN )
processorInput[idx++] = sys->render;
More information about the vlc-commits
mailing list