[FFmpeg-devel] [PATCH] libavcodec/tiff: Fix static linking of lzma with msvc.
protogonoi at gmail.com
Sat Nov 22 19:25:25 CET 2014
This fixes an error when using static lzma libs with msvc compiler. Without
it the lzma.h header defaults to forcing dll (shared) linkage which breaks
when using static libs. The fix requires adding a simple define before the
header is included that only affects lzma.h on win32 and only with msvc/icl.
This patch is the same as previously submitted and applied patches for
identical issues with some of the other external libs. I wrote a rather
long and detailed explanation of why this type of thing is needed and why
it works on one of the previously accepted patches if anyone is curious.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 553 bytes
Desc: not available
More information about the ffmpeg-devel