[FFmpeg-devel] [PATCH 2/2] libavcodec/libx265: do not define X265_API_IMPORTS

anonymous.maarten at gmail.com anonymous.maarten at gmail.com
Mon Sep 3 20:27:14 EEST 2018


From: Anonymous Maarten <anonymous.maarten at gmail.com>

The defines should be passed by pkg-config.

Signed-off-by: Anonymous Maarten <anonymous.maarten at gmail.com>
---
 libavcodec/libx265.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/libavcodec/libx265.c b/libavcodec/libx265.c
index 27c90b323f..f794205198 100644
--- a/libavcodec/libx265.c
+++ b/libavcodec/libx265.c
@@ -20,10 +20,6 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#if defined(_MSC_VER)
-#define X265_API_IMPORTS 1
-#endif
-
 #include <x265.h>
 #include <float.h>
 
-- 
2.17.1



More information about the ffmpeg-devel mailing list