[FFmpeg-trac] #8984(avcodec:new): avcodec fails with mingw-w64 v8.0.0
FFmpeg
trac at avcodec.org
Fri Nov 13 07:52:56 EET 2020
#8984: avcodec fails with mingw-w64 v8.0.0
-------------------------------------+-------------------------------------
Reporter: | Type: defect
longnguyen2004 |
Status: new | Priority: normal
Component: avcodec | Version: git-
| master
Keywords: mingw mf | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
Upstream mingw-w64 v8.0.0 has switched to
[https://github.com/mirror/mingw-w64/commit/0994c69c75532d12b6f134688cd5698f0125b66d
#diff-4dd9d2acdd37064f965ce07a62f5fc8e33cc2918a2e63224343fba819a81eb9d
WINVER] instead of _WIN32_WINNT in mfapi.h, which causes anything using
mf_utils.c to fail. So we have to set both _WIN32_WINNT and WINVER in
mf_utils.c
How to reproduce:
Build avcodec with a mingw toolchain that uses v8.0.0 (one example is
[https://github.com/mstorsjo/llvm-mingw llvm-mingw])
--
Ticket URL: <https://trac.ffmpeg.org/ticket/8984>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list