#10914: Access Violation using ddagrab filter in Windows x86 (32 bit)
-------------------------------------+-------------------------------------
             Reporter:  Vadim        |                    Owner:  (none)
  Guchenko                           |
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  avfilter
              Version:  git-master   |               Resolution:
             Keywords:  ddagrab x86  |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Comment (by Vadim Guchenko):

 The following patch fixes the problem:

 {{{
 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 (__stdcall
 *set_thread_dpi_t)(DPI_AWARENESS_CONTEXT);
      set_thread_dpi_t set_thread_dpi;
      HMODULE user32_module;
  #endif
 }}}
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10914#comment:8>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to