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

Carl Eugen Hoyos ceffmpeg at gmail.com
Sun Jan 6 15:32:13 EET 2019


2018-12-31 2:44 GMT+01:00, James Almer <jamrial at gmail.com>:
> 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
> avcodec_extralibs.

I will push my patch if no alternative solutions are provided.

Carl Eugen


More information about the ffmpeg-devel mailing list