Opened 3 years ago

Last modified 3 years ago

#8984 open defect

avcodec fails with mingw-w64 v8.0.0

Reported by: Long Nguyen Owned by:
Priority: normal Component: avcodec
Version: git-master Keywords: win mediafoundation
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
Upstream mingw-w64 v8.0.0 has switched to 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 llvm-mingw)

Change History (3)

comment:1 by Long Nguyen, 3 years ago

Keywords: mediafoundations added; mf removed
Status: newopen

comment:2 by Carl Eugen Hoyos, 3 years ago

Keywords: mediafoundation added; mediafoundations removed

comment:3 by Carl Eugen Hoyos, 3 years ago

Keywords: win added; mingw removed
Note: See TracTickets for help on using tickets.