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.

Attachment: 0001-libavcodec-tiff-Fix-static-linking-of-lzma-with-msvc.patch
Description: Binary data

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to