[FFmpeg-devel] [PATCH 1/2] libavcodec/libx264: do not define X264_API_IMPORTS
anonymous.maarten at gmail.com
anonymous.maarten at gmail.com
Mon Sep 3 20:27:13 EEST 2018
From: Anonymous Maarten <anonymous.maarten at gmail.com>
These defines should be passed by pkg-config.
---
libavcodec/libx264.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c
index 54e6703d73..b6f4c102c4 100644
--- a/libavcodec/libx264.c
+++ b/libavcodec/libx264.c
@@ -29,10 +29,6 @@
#include "avcodec.h"
#include "internal.h"
-#if defined(_MSC_VER)
-#define X264_API_IMPORTS 1
-#endif
-
#include <x264.h>
#include <float.h>
#include <math.h>
--
2.17.1
More information about the ffmpeg-devel
mailing list