[SCM] libav/experimental: libx265: Properly handled dynamic linking with MSVC

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Aug 10 16:01:38 UTC 2014


The following commit has been merged in the experimental branch:
commit 8aca00cc2b25810bdd85b75f5632844a5614b707
Author: Derek Buitenhuis <derek.buitenhuis at gmail.com>
Date:   Fri Feb 21 12:11:00 2014 -0500

    libx265: Properly handled dynamic linking with MSVC
    
    Signed-off-by: Derek Buitenhuis <derek.buitenhuis at gmail.com>

diff --git a/libavcodec/libx265.c b/libavcodec/libx265.c
index 2846c34..961fc74 100644
--- a/libavcodec/libx265.c
+++ b/libavcodec/libx265.c
@@ -29,6 +29,10 @@
 #include "avcodec.h"
 #include "internal.h"
 
+#if defined(_MSC_VER)
+#define X265_API_IMPORTS 1
+#endif
+
 typedef struct libx265Context {
     const AVClass *class;
 

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list