Message ID | 1595989267.20240407211001@relost.net |
---|---|
State | New |
Headers | show |
Series | [FFmpeg-devel] lavf/vsrc_ddagrab: WinAPI functions must be called as stdcall in x86_32 | expand |
Context | Check | Description |
---|---|---|
yinshiyou/make_loongarch64 | success | Make finished |
yinshiyou/make_fate_loongarch64 | success | Make fate finished |
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
diff --git a/libavfilter/vsrc_ddagrab.c b/libavfilter/vsrc_ddagrab.c --- a/libavfilter/vsrc_ddagrab.c +++ b/libavfilter/vsrc_ddagrab.c @@ -178,7 +178,7 @@ static av_cold int init_dxgi_dda(AVFilterContext *avctx) #if HAVE_IDXGIOUTPUT5 && HAVE_DPI_AWARENESS_CONTEXT IDXGIOutput5 *dxgi_output5 = NULL; - typedef DPI_AWARENESS_CONTEXT (*set_thread_dpi_t)(DPI_AWARENESS_CONTEXT); + typedef DPI_AWARENESS_CONTEXT (WINAPI *set_thread_dpi_t)(DPI_AWARENESS_CONTEXT); set_thread_dpi_t set_thread_dpi; HMODULE user32_module; #endif
Henrik Gramner via ffmpeg-devel wrote on 07.04.2024 at 17:32: > I believe most existing code uses WINAPI instead of __stdcall. Thanks for correction. Here is a new patch: