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

Submitted by anonymous.maarten@gmail.com on Sept. 3, 2018, 5:27 p.m.

Details

Message ID 20180903172714.22510-3-anonymous.maarten@gmail.com
State New
Headers show

Commit Message

anonymous.maarten@gmail.com Sept. 3, 2018, 5:27 p.m.
From: Anonymous Maarten <anonymous.maarten@gmail.com>

The defines should be passed by pkg-config.

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

Patch hide | download patch | download mbox

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>