[FFmpeg-cvslog] libx265: Properly handled dynamic linking with MSVC

Derek Buitenhuis git at videolan.org
Mon Feb 24 17:11:26 CET 2014


ffmpeg | branch: master | Derek Buitenhuis <derek.buitenhuis at gmail.com> | Fri Feb 21 12:11:00 2014 -0500| [87769d6c8f6d71e4814821f7e6f57b4b65eaf2a7] | committer: Derek Buitenhuis

libx265: Properly handled dynamic linking with MSVC

Signed-off-by: Derek Buitenhuis <derek.buitenhuis at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=87769d6c8f6d71e4814821f7e6f57b4b65eaf2a7
---

 libavcodec/libx265.c |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/libavcodec/libx265.c b/libavcodec/libx265.c
index cc4e61e..2a5ae06 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;
 



More information about the ffmpeg-cvslog mailing list