[FFmpeg-devel] flac_compute_autocorr_sse2 not pic-safe

Edward Hervey bilboed
Tue Dec 4 15:27:18 CET 2007


Hi all,

  While compiling ffmpeg as static library to be put into a shared
library (./configure --enable-static --disable-shared
--extra-cflags=-fPIC), I encountered a piece of asm code which isn't
PIC-safe.

  The proposed patch disables that optimized routine when the
configuration doesn't allow it (HAVE_7REGS set to 1).

  Tested on both x86 32/64bits and as static/shared libraries.


    Edward
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg-flac-sse-7regs-20071204-1.patch
Type: text/x-patch
Size: 877 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20071204/a818c221/attachment.bin>



More information about the ffmpeg-devel mailing list