[FFmpeg-devel] [PATCH] libavcodec/tiff: Fix static linking of lzma with msvc.

Matt Oliver 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...
Name: 0001-libavcodec-tiff-Fix-static-linking-of-lzma-with-msvc.patch
Type: application/octet-stream
Size: 553 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20141123/bef6ddd6/attachment.obj>


More information about the ffmpeg-devel mailing list