[FFmpeg-devel] [PATCH 2/3] x86/hevcdsp: add ff_hevc_sao_edge_filter_8_{ssse3, avx2}

James Almer jamrial at gmail.com
Fri Feb 6 16:06:08 CET 2015


On 06/02/15 7:07 AM, Hendrik Leppkes wrote:
> For some reason, the non-WIN64 version does just this, but the WIN64
> version does not.
> Any particular reason for this difference?

We support PIC on WIN64 but not with others. Or at least x86inc.asm enables it that way.

According to msvc documentation https://msdn.microsoft.com/en-us/library/daszf0sk.aspx 
the linking error is because "You are trying to build a 64-bit image with 32-bit 
addresses".
Quickest "fix" is to just do the same as the UNIX64 path and load the effective address 
of the table on a register (like in Christophe's patch), but it may still be a good idea 
to know why msvc is failing whereas mingw-w64 is working as intended.


More information about the ffmpeg-devel mailing list