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

Derek Buitenhuis git at videolan.org
Mon Feb 24 21:07:21 CET 2014


ffmpeg | branch: master | Derek Buitenhuis <derek.buitenhuis at gmail.com> | Fri Feb 21 12:11:00 2014 -0500| [8aca00cc2b25810bdd85b75f5632844a5614b707] | 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=8aca00cc2b25810bdd85b75f5632844a5614b707
---

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

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;
 



More information about the ffmpeg-cvslog mailing list