diff options
author | James Almer <jamrial@gmail.com> | 2018-07-24 02:42:08 +0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2018-07-25 21:22:30 +0300 |
commit | 81a18f219e2ca0ec57144805dece1b72b73c692d (patch) | |
tree | c9766adeb730c3947ee9314bdaec6d3739030874 /libswresample/x86/rematrix_init.c | |
parent | fa35ab80f31e269bd607044db2706b8b99e4ef5a (diff) |
avutil/hwcontext_d3d11va: fix type arguments passed to IDXGIAdapter2_GetDesc()
libavutil/hwcontext_d3d11va.c: In function 'd3d11va_device_create':
libavutil/hwcontext_d3d11va.c:554:46: warning: passing argument 2 of 'pAdapter->lpVtbl->GetDesc' from incompatible pointer type [-Wincompatible-pointer-types]
hr = IDXGIAdapter2_GetDesc(pAdapter, &desc);
^
libavutil/hwcontext_d3d11va.c:554:46: note: expected 'DXGI_ADAPTER_DESC * {aka struct DXGI_ADAPTER_DESC *}' but argument is of type 'DXGI_ADAPTER_DESC2 * {aka struct DXGI_ADAPTER_DESC2 *}'
Reviewed-by: Jean-Baptiste Kempf <jb@videolan.org>
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libswresample/x86/rematrix_init.c')
0 files changed, 0 insertions, 0 deletions