Opened 6 months ago

#10619 new defect

FFmpeg static link to libx265 is failed on windows platform

Reported by: siriushu Owned by:
Priority: important Component: avcodec
Version: git-master Keywords: ffmpeg build failed
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no


Reproduce steps:

Build FFmpeg with libx265 enabled on Windows platform.
FFmpeg static link to libx265 and Libx265 is builded as a static library.

libx265 API symbols can not be referenced.

In file libx265.c, there is a macro "#define X265_API_IMPORTS 1" for windows platform.
This will limit libx265 usage to be linked to DLL only. Static link would be failed.

Change History (0)

Note: See TracTickets for help on using tickets.