* gcc version: 14.1.0
* build options:
https://github.com/msys2/MINGW-packages/blob/master/mingw-w64-ffmpeg/PKGBUILD
* compiler error:

ffmpeg-6.1.1/libavutil/hwcontext_qsv.c:756:68: error: passing argument
3 of 'devmgr->lpVtbl->LockDevice' from incompatible pointer type
[-Wincompatible-pointer-types]
  756 |     hr = IDirect3DDeviceManager9_LockDevice(devmgr,
device_handle, &device, TRUE);
      |
    ^~~~~~~
      |                                                                    |
      |
    IDirect3DDevice9Ex **
ffmpeg-6.1.1/libavutil/hwcontext_qsv.c:756:68: note: expected
'IDirect3DDevice9 **' but argument is of type 'IDirect3DDevice9Ex **'

ffmpeg-6.1.1/libavutil/hwcontext_qsv.c:770:49: error: passing argument
2 of 'device->lpVtbl->GetDirect3D' from incompatible pointer type
[-Wincompatible-pointer-types]
  770 |     hr = IDirect3DDevice9Ex_GetDirect3D(device, &d3d9ex);
      |                                                 ^~~~~~~
      |                                                 |
      |                                                 IDirect3D9Ex **
ffmpeg-6.1.1/libavutil/hwcontext_qsv.c:770:49: note: expected
'IDirect3D9 **' but argument is of type 'IDirect3D9Ex **'

* downstream issue: https://github.com/msys2/MINGW-packages/issues/20891
* probable solution: https://github.com/msys2/MINGW-packages/pull/20930

Please feel free ask any further information I need to provide for
fixing the issue.

Thank you.
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to