[FFmpeg-devel] [PATCH]configure: ole32 is needed for shared libavcodec linking with dxva2.

James Almer jamrial at gmail.com
Mon Dec 31 03:44:28 EET 2018

On 12/30/2018 5:52 PM, Carl Eugen Hoyos wrote:
> 2018-12-30 21:37 GMT+01:00, Hendrik Leppkes <h.leppkes at gmail.com>:
>> On Sun, Dec 30, 2018 at 9:16 PM Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:
>>> Attached patch fixes a Windows linking issue described in ticket #7642,
>>> only shared linking was tested so far.
>> ole32 is a dependency of dxva2 already, it should already be pulled in
>> through that, shouldn't it?
> Please test this...
> Carl Eugen

The issue here is that dxva2 is enabled (thus compiling dxva2.c), but
every dxva2 module isn't, which means the dependency generator in
configure will not pull dxva2 dependencies for avcodec.

I think the more correct solution would be to add dxva2_extralibs to

More information about the ffmpeg-devel mailing list