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

Michael Niedermayer michaelni at gmx.at
Sat Nov 22 23:16:29 CET 2014

On Sun, Nov 23, 2014 at 05:25:25AM +1100, Matt Oliver wrote:
> 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.

>  tiff.c |    1 +
>  1 file changed, 1 insertion(+)
> 7ab4f4b2fc04ee21ed17f5cd43ed14cf9db28cd2  0001-libavcodec-tiff-Fix-static-linking-of-lzma-with-msvc.patch
> From 5b07f8961b3c777e5a6c9ba759883c15ef2c3ec5 Mon Sep 17 00:00:00 2001
> From: Matthew Oliver <protogonoi at gmail.com>
> Date: Sun, 23 Nov 2014 03:43:19 +1100
> Subject: [PATCH] libavcodec/tiff: Fix static linking of lzma with msvc.




Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Old school: Use the lowest level language in which you can solve the problem
New school: Use the highest level language in which the latest supercomputer
            can solve the problem without the user falling asleep waiting.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20141122/e10e085c/attachment.asc>

More information about the ffmpeg-devel mailing list