Opened 7 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

Description

Reproduce steps:

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

Results:
libx265 API symbols can not be referenced.

Reason:
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.